diff options
author | Robin Appelman <robin@icewind.nl> | 2022-03-28 18:45:06 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-04-04 14:57:56 +0200 |
commit | 99ac46d8f5de241b49e33e2c4fb874270f6860cc (patch) | |
tree | 4275e6e959229c742ee369fc0a439e4312c15816 /lib/public/Files | |
parent | 74c97e257132384be3d6e0978b847c9d6933928b (diff) | |
download | nextcloud-server-99ac46d8f5de241b49e33e2c4fb874270f6860cc.tar.gz nextcloud-server-99ac46d8f5de241b49e33e2c4fb874270f6860cc.zip |
allow getting mounts by providers
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/public/Files')
-rw-r--r-- | lib/public/Files/Config/IMountProviderCollection.php | 4 |
1 files changed, 2 insertions, 2 deletions
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<IMountProvider> $mountProviderClass + * @param class-string<IMountProvider>[] $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 |