summaryrefslogtreecommitdiffstats
path: root/build/psalm-baseline.xml
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-18 14:42:43 +0200
committerGitHub <noreply@github.com>2022-10-18 14:42:43 +0200
commit00c2c620acfdcf188a3ea9047458414749520fa9 (patch)
treeb2c842c9d1754d18ecf274339238aae748985093 /build/psalm-baseline.xml
parentc67146642261084ad8584207441408e78d84af35 (diff)
parent419828c791f115fdef3bfa18b9f5c27b8057b292 (diff)
downloadnextcloud-server-00c2c620acfdcf188a3ea9047458414749520fa9.tar.gz
nextcloud-server-00c2c620acfdcf188a3ea9047458414749520fa9.zip
Merge pull request #34554 from nextcloud/fix/psalm-twofactor-registry
Fix wrong types in phpdoc for twofactor registry
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r--build/psalm-baseline.xml23
1 files changed, 2 insertions, 21 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 7f79c7789d8..e5c2ce9b992 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1627,16 +1627,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>
@@ -2332,12 +2322,9 @@
</UndefinedMethod>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
- <InvalidReturnStatement occurrences="2">
- <code>$providers</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="2">
+ <InvalidReturnStatement occurrences="1"/>
+ <InvalidReturnType occurrences="1">
<code>int[]</code>
- <code>string[]</code>
</InvalidReturnType>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
@@ -2345,12 +2332,6 @@
<code>IProvider::EVENT_FAILED</code>
<code>IProvider::EVENT_SUCCESS</code>
</InvalidArgument>
- <InvalidReturnStatement occurrences="1">
- <code>$providerStates</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>string[]</code>
- </InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$this-&gt;timeFactory-&gt;getTime()</code>
<code>$tokenId</code>