Browse Source

Fix psalm

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
pull/29547/head
John Molakvoæ 5 years ago
parent
commit
d6152bf98d
No known key found for this signature in database GPG Key ID: 60C25B8C072916CF
  1. 4
      lib/private/Files/View.php

4
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;
}
/**

Loading…
Cancel
Save