Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-03-24 17:47:19 +0300
committerRobin Appelman <robin@icewind.nl>2022-03-24 19:04:01 +0300
commit63ad99ba4ad6e4365bbaa0bd500cd870bd853201 (patch)
tree72e33a39b231848eadb5e8589c0d2826b32c3951
parentf7c942a9436022bd14373ee9706c5a72bce021e9 (diff)
fix method name
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--lib/private/Files/Config/UserMountCache.php2
-rw-r--r--lib/public/Files/Config/IUserMountCache.php2
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;
}