mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Fix psalm
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
b1a4b239b8
commit
d6152bf98d
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user