Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: add phpDoc
Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: Git'Fellow <[email protected]>
  • Loading branch information
solracsf and come-nc authored Aug 1, 2024
commit 9d6cb8a8d5b1d14af23b25005b2aa1997c99565c
1 change: 1 addition & 0 deletions lib/private/Files/Storage/Local.php
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ public function fopen($path, $mode) {
return $result;
}

/** @return string|false */
public function hash($type, $path, $raw = false): string|bool {
$sourcePath = $this->getSourcePath($path);
if ($sourcePath === null || !file_exists($sourcePath) || !is_readable($sourcePath)) {
Expand Down