diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-12-09 17:25:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 17:25:59 +0100 |
commit | a0444bc69cf1c2ffcb39616a2b258078737237bd (patch) | |
tree | 02ed41b19ac235c60af8de525c18749c39bd003a /build | |
parent | 3749b706993107291321643aee0d874a9210a2d0 (diff) | |
parent | b7326046c6395c50a6083b57f5f919882f5098b7 (diff) | |
download | nextcloud-server-a0444bc69cf1c2ffcb39616a2b258078737237bd.tar.gz nextcloud-server-a0444bc69cf1c2ffcb39616a2b258078737237bd.zip |
Merge pull request #24247 from nextcloud/bugfix/noid/ocm-providerId-string
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index ebe3ce53d5c..68690455ad3 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1113,21 +1113,13 @@ </TypeDoesNotContainNull> </file> <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php"> - <InvalidArrayAccess occurrences="2"> - <code>$remoteId</code> - <code>$token</code> - </InvalidArrayAccess> - <InvalidArrayOffset occurrences="1"> - <code>list($token, $remoteId)</code> - </InvalidArrayOffset> <InvalidReturnStatement occurrences="1"> <code>$shares</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>getSharesInFolder</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="6"> - <code>$share->getId()</code> + <InvalidScalarArgument occurrences="5"> <code>$shareId</code> <code>$shareId</code> <code>$shareId</code> @@ -1136,10 +1128,7 @@ </InvalidScalarArgument> </file> <file src="apps/federatedfilesharing/lib/Notifications.php"> - <InvalidReturnStatement occurrences="2"> - <code>[$ocmResult['token'], $ocmResult['providerId']]</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="4"> + <InvalidReturnType occurrences="3"> <code>bool</code> <code>bool</code> <code>bool</code> @@ -1153,13 +1142,12 @@ <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> - <InvalidScalarArgument occurrences="7"> + <InvalidScalarArgument occurrences="6"> <code>$id</code> <code>$id</code> <code>$id</code> <code>$id</code> <code>$id</code> - <code>$remoteId</code> <code>(int)$share['id']</code> </InvalidScalarArgument> </file> |