From 8ca6fcace7dc22230a7afe84936ca01470f50d00 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Mon, 16 Sep 2024 16:00:30 +0200 Subject: fix(Storage): Document getOwner() can return false Signed-off-by: provokateurin --- apps/dav/lib/Storage/PublicOwnerWrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/dav/lib/Storage') 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) { -- cgit v1.2.3