Fix psalm

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ 2021-11-04 10:24:13 +01:00
parent b1a4b239b8
commit d6152bf98d
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

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