diff options
author | Robin Appelman <robin@icewind.nl> | 2021-03-19 18:13:59 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-03-24 14:30:29 +0100 |
commit | f842608c95a1a38ef59d7951380b73c1e4f0c2a3 (patch) | |
tree | 0eb5da17bc9d1d5449116fbb1791d3274873f8a1 /lib/private/Files/Node | |
parent | 4406092fd680dc26001a78cdcf179aca3dc0b235 (diff) | |
download | nextcloud-server-f842608c95a1a38ef59d7951380b73c1e4f0c2a3.tar.gz nextcloud-server-f842608c95a1a38ef59d7951380b73c1e4f0c2a3.zip |
getRelativePath can return null
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Node')
-rw-r--r-- | lib/private/Files/Node/Folder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Node/Folder.php b/lib/private/Files/Node/Folder.php index 36c4cbe58bc..ec73a8c06ae 100644 --- a/lib/private/Files/Node/Folder.php +++ b/lib/private/Files/Node/Folder.php @@ -76,7 +76,7 @@ class Folder extends Node implements \OCP\Files\Folder { /** * @param string $path - * @return string + * @return string|null */ public function getRelativePath($path) { if ($this->path === '' or $this->path === '/') { |