summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-04-04 12:50:54 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-04-04 12:50:54 +0200
commit73e6eea57e0454a74b6b461e15d2c4fac61ed524 (patch)
tree3e06367ce3e0f2de7c0b5953819c499349ad7a39 /lib/private/Files
parent37233471b6698f798c9f0b9bf0286c4d9c342204 (diff)
downloadnextcloud-server-73e6eea57e0454a74b6b461e15d2c4fac61ed524.tar.gz
nextcloud-server-73e6eea57e0454a74b6b461e15d2c4fac61ed524.zip
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Files')
-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])) {