Skip to content

Commit

Permalink
fix: Adapt return type for Nextcloud 26
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Feb 8, 2023
1 parent d60bde1 commit d23484d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ACL/ACLStorageWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public function filetype($path) {
return parent::filetype($path);
}

public function filesize($path) {
public function filesize($path): false|int|float {
if (!$this->checkPermissions(Constants::PERMISSION_READ)) {
return false;
}
Expand Down

0 comments on commit d23484d

Please sign in to comment.