Signed-off-by: Robin Appelman <robin@icewind.nl>
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) {
* @throws NotFoundException
* @since 24.0.0
*/
- public function getMountsInForPath(IUser $user, string $path): array;
+ public function getMountsInPath(IUser $user, string $path): array;
}