Skip to content

Commit 56a74fa

Browse files
committed
docs: remove superfluous phpdocs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent 6d150c0 commit 56a74fa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

lib/private/Authentication/TwoFactorAuth/Manager.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,6 @@ public function __construct(ProviderLoader $providerLoader,
119119

120120
/**
121121
* Determine whether the user must provide a second factor challenge
122-
*
123-
* @param IUser $user
124-
* @return boolean
125122
*/
126123
public function isTwoFactorAuthenticated(IUser $user): bool {
127124
if (isset($this->userIsTwoFactorAuthenticated[$user->getUID()])) {
@@ -145,18 +142,13 @@ public function isTwoFactorAuthenticated(IUser $user): bool {
145142

146143
/**
147144
* Get a 2FA provider by its ID
148-
*
149-
* @param IUser $user
150-
* @param string $challengeProviderId
151-
* @return IProvider|null
152145
*/
153-
public function getProvider(IUser $user, string $challengeProviderId) {
146+
public function getProvider(IUser $user, string $challengeProviderId): ?IProvider {
154147
$providers = $this->getProviderSet($user)->getProviders();
155148
return $providers[$challengeProviderId] ?? null;
156149
}
157150

158151
/**
159-
* @param IUser $user
160152
* @return IActivatableAtLogin[]
161153
* @throws Exception
162154
*/

0 commit comments

Comments
 (0)