diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-10-12 11:40:41 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-10-12 11:40:41 +0200 |
commit | bfd2b74c680836d5746d40023a7dc0f62216a6b7 (patch) | |
tree | 869cebd59809332322740cd50f9edd755f065dcf | |
parent | cf5bf3036dee4527b93c5bb8e43c0ed3a216e15a (diff) | |
download | nextcloud-server-bfd2b74c680836d5746d40023a7dc0f62216a6b7.tar.gz nextcloud-server-bfd2b74c680836d5746d40023a7dc0f62216a6b7.zip |
Fix wrong types in phpdoc for twofactor registry
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r-- | build/psalm-baseline.xml | 10 | ||||
-rw-r--r-- | lib/public/Authentication/TwoFactorAuth/IRegistry.php | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 61d1a7061ef..9022134fbcf 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1637,16 +1637,6 @@ <code>$event->getObjectId()</code> </InvalidScalarArgument> </file> - <file src="apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php"> - <InvalidArgument occurrences="1"> - <code>bool</code> - </InvalidArgument> - </file> - <file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php"> - <InvalidArgument occurrences="1"> - <code>bool</code> - </InvalidArgument> - </file> <file src="apps/updatenotification/lib/Controller/AdminController.php"> <InvalidScalarArgument occurrences="2"> <code>$this->timeFactory->getTime()</code> diff --git a/lib/public/Authentication/TwoFactorAuth/IRegistry.php b/lib/public/Authentication/TwoFactorAuth/IRegistry.php index 1f1b82a4426..0f164902f67 100644 --- a/lib/public/Authentication/TwoFactorAuth/IRegistry.php +++ b/lib/public/Authentication/TwoFactorAuth/IRegistry.php @@ -53,7 +53,7 @@ interface IRegistry { * the given user. * * @since 14.0.0 - * @return string[] where the array key is the provider ID (string) and the + * @return array<string, bool> where the array key is the provider ID (string) and the * value is the enabled state (bool) */ public function getProviderStates(IUser $user): array; |