]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make phpcs happy in MountProviderCollection
authorVincent Petry <vincent@nextcloud.com>
Thu, 24 Mar 2022 19:26:42 +0000 (20:26 +0100)
committerVincent Petry <vincent@nextcloud.com>
Thu, 24 Mar 2022 19:26:42 +0000 (20:26 +0100)
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
lib/private/Files/Config/MountProviderCollection.php

index f88ffe2561d88671aeff5f7945aea542eac1d135..2b0acf7d69d6ac1146c067253f48beba6eea213d 100644 (file)
@@ -79,7 +79,7 @@ class MountProviderCollection implements IMountProviderCollection, Emitter {
         * @param IMountProvider[] $providers
         * @return IMountPoint[]
         */
-       private function getUserMountsForProviders(IUser $user, array $providers): array {
+       private function getUserMountsForProviders(IUser $user, array $providers): array {
                $loader = $this->loader;
                $mounts = array_map(function (IMountProvider $provider) use ($user, $loader) {
                        return $provider->getMountsForUser($user, $loader);
@@ -97,7 +97,7 @@ class MountProviderCollection implements IMountProviderCollection, Emitter {
                return $this->getUserMountsForProviders($user, $this->providers);
        }
 
-       public function getUserMountsForProviderClass(IUser $user, string $mountProviderClass): array {
+       public function getUserMountsForProviderClass(IUser $user, string $mountProviderClass): array {
                $providers = array_filter(
                        $this->providers,
                        fn (IMountProvider $mountProvider) => (get_class($mountProvider) === $mountProviderClass)