aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Storage
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 /apps/dav/lib/Storage
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 'apps/dav/lib/Storage')
-rw-r--r--apps/dav/lib/Storage/PublicOwnerWrapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Storage/PublicOwnerWrapper.php b/apps/dav/lib/Storage/PublicOwnerWrapper.php
index 6523c4c7cad..40ef81ab06d 100644
--- a/apps/dav/lib/Storage/PublicOwnerWrapper.php
+++ b/apps/dav/lib/Storage/PublicOwnerWrapper.php
@@ -26,7 +26,7 @@ class PublicOwnerWrapper extends Wrapper {
$this->owner = $arguments['owner'];
}
- public function getOwner($path) {
+ public function getOwner($path): string|false {
$owner = parent::getOwner($path);
if ($owner === null || $owner === false) {