From 63ad99ba4ad6e4365bbaa0bd500cd870bd853201 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 24 Mar 2022 15:47:19 +0100 Subject: fix method name Signed-off-by: Robin Appelman --- lib/private/Files/Config/UserMountCache.php | 2 +- 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; } -- cgit v1.2.3