Browse Source

Fix wrong types in phpdoc for twofactor registry

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
tags/v26.0.0beta1
Carl Schwan 1 year ago
parent
commit
bfd2b74c68
2 changed files with 1 additions and 11 deletions
  1. 0
    10
      build/psalm-baseline.xml
  2. 1
    1
      lib/public/Authentication/TwoFactorAuth/IRegistry.php

+ 0
- 10
build/psalm-baseline.xml View File

@@ -1637,16 +1637,6 @@
<code>$event-&gt;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-&gt;timeFactory-&gt;getTime()</code>

+ 1
- 1
lib/public/Authentication/TwoFactorAuth/IRegistry.php View File

@@ -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;

Loading…
Cancel
Save