From 73e6eea57e0454a74b6b461e15d2c4fac61ed524 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 4 Apr 2018 12:50:54 +0200 Subject: Fix tests Signed-off-by: Roeland Jago Douma --- lib/private/Files/Mount/Manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private') 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])) { -- cgit v1.2.3