diff options
author | Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com> | 2021-03-28 04:12:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-28 04:12:03 +0000 |
commit | 3b5cb333e4c1fe2204fe64e6843ae9771b68871e (patch) | |
tree | 45e3d4baf8a150064e67ba2fb350ba19fa7d5d13 /build | |
parent | be83a32411f4e94e6e988c637a442b95ed315126 (diff) | |
download | nextcloud-server-3b5cb333e4c1fe2204fe64e6843ae9771b68871e.tar.gz nextcloud-server-3b5cb333e4c1fe2204fe64e6843ae9771b68871e.zip |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 1a28e2e885e..7efe87903da 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -3495,12 +3495,10 @@ <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> - <InvalidReturnStatement occurrences="2"> - <code>$this->root->get($this->getFullPath($path))</code> + <InvalidReturnStatement occurrences="1"> <code>new NonExistingFolder($this->root, $this->view, $path)</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="2"> - <code>\OC\Files\Node\Node</code> + <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <MoreSpecificImplementedParamType occurrences="1"> @@ -3579,15 +3577,7 @@ <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> - <InvalidReturnStatement occurrences="3"> - <code>$targetNode</code> - <code>$targetNode</code> - <code>$this->root->get($newPath)</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="4"> - <code>Node</code> - <code>\OC\Files\Node\Node</code> - <code>\OC\Files\Node\Node</code> + <InvalidReturnType occurrences="1"> <code>getChecksum</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"> @@ -3601,9 +3591,8 @@ </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Node/Root.php"> - <ImplementedReturnTypeMismatch occurrences="2"> + <ImplementedReturnTypeMismatch occurrences="1"> <code>Node</code> - <code>string</code> </ImplementedReturnTypeMismatch> <InvalidNullableReturnType occurrences="7"> <code>\OC\Files\Mount\MountPoint</code> @@ -3614,12 +3603,6 @@ <code>int</code> <code>string</code> </InvalidNullableReturnType> - <InvalidReturnStatement occurrences="1"> - <code>$this->createNode($fullPath, $fileInfo)</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>string</code> - </InvalidReturnType> <NullableReturnStatement occurrences="7"> <code>$this->mountManager->find($mountPoint)</code> <code>$this->user</code> |