Browse Source
Fix psalm
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
pull/29547/head
John Molakvoæ
5 years ago
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with
2 additions and
2 deletions
-
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; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|