From: Tim Düsterhus Date: Tue, 17 Nov 2020 10:13:42 +0000 (+0100) Subject: Improve return type for Setup::getAllForUser() X-Git-Tag: 5.4.0_Alpha_1~555^2~50 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2f29c80f76383cdfa3c4937145b71d961604179a;p=GitHub%2FWoltLab%2FWCF.git Improve return type for Setup::getAllForUser() --- 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 *