summaryrefslogtreecommitdiffstats
path: root/lib/private/Lockdown/Filesystem/NullStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Lockdown/Filesystem/NullStorage.php')
-rw-r--r--lib/private/Lockdown/Filesystem/NullStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Lockdown/Filesystem/NullStorage.php b/lib/private/Lockdown/Filesystem/NullStorage.php
index 8427a4658d4..8b5b63bd90a 100644
--- a/lib/private/Lockdown/Filesystem/NullStorage.php
+++ b/lib/private/Lockdown/Filesystem/NullStorage.php
@@ -65,7 +65,7 @@ class NullStorage extends Common {
return ($path === '') ? 'dir' : false;
}
- public function filesize($path) {
+ public function filesize(string $path): false|int|float {
throw new \OC\ForbiddenException('This request is not allowed to access the filesystem');
}