From 32303b6ed568523993e264186ecaa9055cea1613 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Tue, 18 Jul 2023 10:54:05 +0200 Subject: [PATCH] docs: remove superfluous phpdocs Signed-off-by: Daniel Kesselberg --- lib/private/Authentication/TwoFactorAuth/Manager.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/private/Authentication/TwoFactorAuth/Manager.php b/lib/private/Authentication/TwoFactorAuth/Manager.php index 8ae08ca65ae..ff0c33445a2 100644 --- a/lib/private/Authentication/TwoFactorAuth/Manager.php +++ b/lib/private/Authentication/TwoFactorAuth/Manager.php @@ -112,9 +112,6 @@ class Manager { /** * Determine whether the user must provide a second factor challenge - * - * @param IUser $user - * @return boolean */ public function isTwoFactorAuthenticated(IUser $user): bool { if (isset($this->userIsTwoFactorAuthenticated[$user->getUID()])) { @@ -138,18 +135,13 @@ class Manager { /** * Get a 2FA provider by its ID - * - * @param IUser $user - * @param string $challengeProviderId - * @return IProvider|null */ - public function getProvider(IUser $user, string $challengeProviderId) { + public function getProvider(IUser $user, string $challengeProviderId): ?IProvider { $providers = $this->getProviderSet($user)->getProviders(); return $providers[$challengeProviderId] ?? null; } /** - * @param IUser $user * @return IActivatableAtLogin[] * @throws Exception */ -- 2.39.5