From 99ac46d8f5de241b49e33e2c4fb874270f6860cc Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 28 Mar 2022 18:45:06 +0200 Subject: allow getting mounts by providers Signed-off-by: Robin Appelman --- lib/public/Files/Config/IMountProviderCollection.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public') diff --git a/lib/public/Files/Config/IMountProviderCollection.php b/lib/public/Files/Config/IMountProviderCollection.php index 5894d06a388..2d42246b863 100644 --- a/lib/public/Files/Config/IMountProviderCollection.php +++ b/lib/public/Files/Config/IMountProviderCollection.php @@ -42,11 +42,11 @@ interface IMountProviderCollection { * Get the configured mount points for the user from a specific mount provider * * @param \OCP\IUser $user - * @param class-string $mountProviderClass + * @param class-string[] $mountProviderClasses * @return \OCP\Files\Mount\IMountPoint[] * @since 24.0.0 */ - public function getUserMountsForProviderClass(IUser $user, string $mountProviderClass); + public function getUserMountsForProviderClasses(IUser $user, array $mountProviderClasses): array; /** * Get the configured home mount for this user -- cgit v1.2.3