Fix wrong types in phpdoc for twofactor registry

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/34554/head
Carl Schwan 4 years ago
parent cf5bf3036d
commit bfd2b74c68
  1. 10
      build/psalm-baseline.xml
  2. 2
      lib/public/Authentication/TwoFactorAuth/IRegistry.php

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

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