Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2021-11-04 12:24:13 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2021-11-04 12:24:13 +0300
commitd6152bf98d4a9c86b65536a8be99cf2f64fbde16 (patch)
treea6ecb0251388b54e06737f9edce6bb3af16cd889 /lib/private/Files/View.php
parentb1a4b239b84748091c11f94fea7255d96aea301b (diff)
Fix psalm
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Files/View.php')
-rw-r--r--lib/private/Files/View.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php
index 113290e2686..f2d91065b9a 100644
--- a/lib/private/Files/View.php
+++ b/lib/private/Files/View.php
@@ -1082,7 +1082,7 @@ class View {
* @param string $type
* @param string $path
* @param bool $raw
- * @return bool|null|string
+ * @return bool|string
*/
public function hash($type, $path, $raw = false) {
$postFix = (substr($path, -1) === '/') ? '/' : '';
@@ -1104,7 +1104,7 @@ class View {
return $storage->hash($type, $internalPath, $raw);
}
}
- return null;
+ return false;
}
/**