aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Lockdown/Filesystem/NullStorage.php
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-16 16:00:30 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-17 10:10:50 +0200
commit8ca6fcace7dc22230a7afe84936ca01470f50d00 (patch)
treefd6867b712621f7a9969bd190ef3b2f2499984d3 /lib/private/Lockdown/Filesystem/NullStorage.php
parentc256518ab3cb61d046ee10edf1c3b18218ee8ff6 (diff)
downloadnextcloud-server-8ca6fcace7dc22230a7afe84936ca01470f50d00.tar.gz
nextcloud-server-8ca6fcace7dc22230a7afe84936ca01470f50d00.zip
fix(Storage): Document getOwner() can return false
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/private/Lockdown/Filesystem/NullStorage.php')
-rw-r--r--lib/private/Lockdown/Filesystem/NullStorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Lockdown/Filesystem/NullStorage.php b/lib/private/Lockdown/Filesystem/NullStorage.php
index 7175594a01d..00124877e9d 100644
--- a/lib/private/Lockdown/Filesystem/NullStorage.php
+++ b/lib/private/Lockdown/Filesystem/NullStorage.php
@@ -155,8 +155,8 @@ class NullStorage extends Common {
return true;
}
- public function getOwner($path) {
- return null;
+ public function getOwner($path): string|false {
+ return false;
}
public function getCache($path = '', $storage = null) {