diff options
-rw-r--r-- | lib/private/Files/Config/UserMountCache.php | 2 | ||||
-rw-r--r-- | lib/public/Files/Config/IUserMountCache.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Config/UserMountCache.php b/lib/private/Files/Config/UserMountCache.php index 6537d07393e..4df8245cef2 100644 --- a/lib/private/Files/Config/UserMountCache.php +++ b/lib/private/Files/Config/UserMountCache.php @@ -477,7 +477,7 @@ class UserMountCache implements IUserMountCache { throw new NotFoundException("No cached mount for path " . $path); } - public function getMountsInForPath(IUser $user, string $path): array { + public function getMountsInPath(IUser $user, string $path): array { $path = rtrim($path, '/') . '/'; $mounts = $this->getMountsForUser($user); return array_filter($mounts, function (ICachedMountInfo $mount) use ($path) { diff --git a/lib/public/Files/Config/IUserMountCache.php b/lib/public/Files/Config/IUserMountCache.php index e1cf87563a2..4411200c7ae 100644 --- a/lib/public/Files/Config/IUserMountCache.php +++ b/lib/public/Files/Config/IUserMountCache.php @@ -148,5 +148,5 @@ interface IUserMountCache { * @throws NotFoundException * @since 24.0.0 */ - public function getMountsInForPath(IUser $user, string $path): array; + public function getMountsInPath(IUser $user, string $path): array; } |