aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-18 13:22:50 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-10-18 13:22:50 +0200
commit419828c791f115fdef3bfa18b9f5c27b8057b292 (patch)
tree72c106650866da447d7af03fda3d335e42d0b2d3 /build
parentbfd2b74c680836d5746d40023a7dc0f62216a6b7 (diff)
downloadnextcloud-server-419828c791f115fdef3bfa18b9f5c27b8057b292.tar.gz
nextcloud-server-419828c791f115fdef3bfa18b9f5c27b8057b292.zip
Fix the type of the return array in a few more places
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml13
1 files changed, 2 insertions, 11 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 9022134fbcf..0c86a532a11 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2337,12 +2337,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">
@@ -2350,12 +2347,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>