aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2023-07-18 10:54:05 +0200
committerDaniel <mail@danielkesselberg.de>2023-08-10 15:01:56 +0200
commit32303b6ed568523993e264186ecaa9055cea1613 (patch)
treedcdb784fafcac5f05a5b47662de684f185dce94b /lib/private/Authentication
parentb53d54ce25b7118360f12eb498fcde740eb37cd0 (diff)
downloadnextcloud-server-32303b6ed568523993e264186ecaa9055cea1613.tar.gz
nextcloud-server-32303b6ed568523993e264186ecaa9055cea1613.zip
docs: remove superfluous phpdocs
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r--lib/private/Authentication/TwoFactorAuth/Manager.php10
1 files changed, 1 insertions, 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
*/