From 2f29c80f76383cdfa3c4937145b71d961604179a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 17 Nov 2020 11:13:42 +0100 Subject: [PATCH] Improve return type for Setup::getAllForUser() --- .../install/files/lib/system/user/multifactor/Setup.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/user/multifactor/Setup.class.php b/wcfsetup/install/files/lib/system/user/multifactor/Setup.class.php index edc54a6b04..dd21ea14e6 100644 --- a/wcfsetup/install/files/lib/system/user/multifactor/Setup.class.php +++ b/wcfsetup/install/files/lib/system/user/multifactor/Setup.class.php @@ -90,6 +90,8 @@ final class Setup implements IIDObject { /** * Returns all setups for a single user. + * + * @return self[] */ public static function getAllForUser(User $user): array { $sql = "SELECT * -- 2.20.1