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 8bb7688
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): float|bool|int {
if (!$this->checkPermissions(Constants::PERMISSION_READ)) {
return false;
}
Expand Down

0 comments on commit 8bb7688

Please sign in to comment.