summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Mount/Manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Mount/Manager.php')
-rw-r--r--lib/private/Files/Mount/Manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Mount/Manager.php b/lib/private/Files/Mount/Manager.php
index f27dfaacc8b..019dda03a40 100644
--- a/lib/private/Files/Mount/Manager.php
+++ b/lib/private/Files/Mount/Manager.php
@@ -76,9 +76,9 @@ class Manager implements IMountManager {
* Find the mount for $path
*
* @param string $path
- * @return MountPoint
+ * @return MountPoint|null
*/
- public function find(string $path): IMountPoint {
+ public function find(string $path) {
\OC_Util::setupFS();
$path = $this->formatPath($path);
if (isset($this->mounts[$path])) {