diff --git a/lib/ACL/ACLStorageWrapper.php b/lib/ACL/ACLStorageWrapper.php index 7dd3f8cfb..b80948a85 100644 --- a/lib/ACL/ACLStorageWrapper.php +++ b/lib/ACL/ACLStorageWrapper.php @@ -238,7 +238,7 @@ public function filemtime($path) { if (!$this->checkPermissions($path, Constants::PERMISSION_READ)) { return false; } - parent::filemtime($path); + return parent::filemtime($path); } public function file_get_contents($path) { @@ -259,7 +259,7 @@ public function hash($type, $path, $raw = false) { if (!$this->checkPermissions($path, Constants::PERMISSION_READ)) { return false; } - parent::hash($type, $path, $raw); + return parent::hash($type, $path, $raw); } public function getETag($path) { diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml index 63b8ea0a4..5ba587881 100644 --- a/tests/psalm-baseline.xml +++ b/tests/psalm-baseline.xml @@ -1,12 +1,8 @@ - + - - filemtime - hash - - IteratorDirectory +