diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-16 16:00:30 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-09-17 10:10:50 +0200 |
commit | 8ca6fcace7dc22230a7afe84936ca01470f50d00 (patch) | |
tree | fd6867b712621f7a9969bd190ef3b2f2499984d3 /lib/private/Files/View.php | |
parent | c256518ab3cb61d046ee10edf1c3b18218ee8ff6 (diff) | |
download | nextcloud-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/Files/View.php')
-rw-r--r-- | lib/private/Files/View.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 336349c680b..9ac74461ca8 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1676,11 +1676,9 @@ class View { /** * Get the owner for a file or folder * - * @param string $path - * @return string the user id of the owner * @throws NotFoundException */ - public function getOwner($path) { + public function getOwner(string $path): string { $info = $this->getFileInfo($path); if (!$info) { throw new NotFoundException($path . ' not found while trying to get owner'); |