diff options
author | Robin Appelman <robin@icewind.nl> | 2022-03-24 15:47:19 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-03-24 17:04:01 +0100 |
commit | 63ad99ba4ad6e4365bbaa0bd500cd870bd853201 (patch) | |
tree | 72e33a39b231848eadb5e8589c0d2826b32c3951 | |
parent | f7c942a9436022bd14373ee9706c5a72bce021e9 (diff) | |
download | nextcloud-server-63ad99ba4ad6e4365bbaa0bd500cd870bd853201.tar.gz nextcloud-server-63ad99ba4ad6e4365bbaa0bd500cd870bd853201.zip |
fix method name
Signed-off-by: Robin Appelman <robin@icewind.nl>
-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; } |