mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Fix psalm
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
parent
b1a4b239b8
commit
d6152bf98d
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue