aboutsummaryrefslogtreecommitdiffstats
path: root/build/psalm-baseline.xml
diff options
context:
space:
mode:
authornextcloud-command <nextcloud-command@users.noreply.github.com>2023-02-13 04:13:24 +0000
committerGitHub <noreply@github.com>2023-02-13 04:13:24 +0000
commit59b0abdcd6fa5fee6fbdba36a303c15cfd36a566 (patch)
tree028d56c9fa734d5703543a972854d74a3e389567 /build/psalm-baseline.xml
parentc3d00095c0fda2400fe75e5c44e6ed08f15410c4 (diff)
downloadnextcloud-server-59b0abdcd6fa5fee6fbdba36a303c15cfd36a566.tar.gz
nextcloud-server-59b0abdcd6fa5fee6fbdba36a303c15cfd36a566.zip
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build/psalm-baseline.xml')
-rw-r--r--build/psalm-baseline.xml19
1 files changed, 4 insertions, 15 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 64c1e6983ac..c376a1b895f 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -2323,22 +2323,15 @@
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Node/File.php">
- <InvalidReturnStatement occurrences="2">
+ <InvalidReturnStatement occurrences="1">
<code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
- <code>new NonExistingFile($this-&gt;root, $this-&gt;view, $path)</code>
</InvalidReturnStatement>
- <InvalidReturnType occurrences="2">
+ <InvalidReturnType occurrences="1">
<code>string</code>
<code>string</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Node/Folder.php">
- <InvalidReturnStatement occurrences="1">
- <code>new NonExistingFolder($this-&gt;root, $this-&gt;view, $path)</code>
- </InvalidReturnStatement>
- <InvalidReturnType occurrences="1">
- <code>string</code>
- </InvalidReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$node</code>
</MoreSpecificImplementedParamType>
@@ -2402,15 +2395,11 @@
<InvalidArgument occurrences="1">
<code>'\OCP\Files::' . $hook</code>
</InvalidArgument>
- <InvalidNullableReturnType occurrences="1">
- <code>int</code>
- </InvalidNullableReturnType>
+ <InvalidNullableReturnType occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>getChecksum</code>
</InvalidReturnType>
- <NullableReturnStatement occurrences="1">
- <code>$this-&gt;getFileInfo()-&gt;getId()</code>
- </NullableReturnStatement>
+ <NullableReturnStatement occurrences="1"/>
<ParamNameMismatch occurrences="1">
<code>$type</code>
</ParamNameMismatch>