Passed
Push — master ( 348454...c8160a )
by Joas
15:07 queued 14s
created
apps/settings/lib/Controller/TwoFactorSettingsController.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -34,27 +34,27 @@
 block discarded – undo
34 34
 
35 35
 class TwoFactorSettingsController extends Controller {
36 36
 
37
-	/** @var MandatoryTwoFactor */
38
-	private $mandatoryTwoFactor;
37
+    /** @var MandatoryTwoFactor */
38
+    private $mandatoryTwoFactor;
39 39
 
40
-	public function __construct(string $appName,
41
-								IRequest $request,
42
-								MandatoryTwoFactor $mandatoryTwoFactor) {
43
-		parent::__construct($appName, $request);
40
+    public function __construct(string $appName,
41
+                                IRequest $request,
42
+                                MandatoryTwoFactor $mandatoryTwoFactor) {
43
+        parent::__construct($appName, $request);
44 44
 
45
-		$this->mandatoryTwoFactor = $mandatoryTwoFactor;
46
-	}
45
+        $this->mandatoryTwoFactor = $mandatoryTwoFactor;
46
+    }
47 47
 
48
-	public function index(): JSONResponse {
49
-		return new JSONResponse($this->mandatoryTwoFactor->getState());
50
-	}
48
+    public function index(): JSONResponse {
49
+        return new JSONResponse($this->mandatoryTwoFactor->getState());
50
+    }
51 51
 
52
-	public function update(bool $enforced, array $enforcedGroups = [], array $excludedGroups = []): JSONResponse {
53
-		$this->mandatoryTwoFactor->setState(
54
-			new EnforcementState($enforced, $enforcedGroups, $excludedGroups)
55
-		);
52
+    public function update(bool $enforced, array $enforcedGroups = [], array $excludedGroups = []): JSONResponse {
53
+        $this->mandatoryTwoFactor->setState(
54
+            new EnforcementState($enforced, $enforcedGroups, $excludedGroups)
55
+        );
56 56
 
57
-		return new JSONResponse($this->mandatoryTwoFactor->getState());
58
-	}
57
+        return new JSONResponse($this->mandatoryTwoFactor->getState());
58
+    }
59 59
 
60 60
 }
Please login to merge, or discard this patch.
apps/settings/lib/Activity/Setting.php 1 patch
Indentation   +59 added lines, -59 removed lines patch added patch discarded remove patch
@@ -26,71 +26,71 @@
 block discarded – undo
26 26
 
27 27
 class Setting implements ISetting {
28 28
 
29
-	/** @var IL10N */
30
-	protected $l;
29
+    /** @var IL10N */
30
+    protected $l;
31 31
 
32
-	/**
33
-	 * @param IL10N $l10n
34
-	 */
35
-	public function __construct(IL10N $l10n) {
36
-		$this->l = $l10n;
37
-	}
32
+    /**
33
+     * @param IL10N $l10n
34
+     */
35
+    public function __construct(IL10N $l10n) {
36
+        $this->l = $l10n;
37
+    }
38 38
 
39
-	/**
40
-	 * @return string Lowercase a-z and underscore only identifier
41
-	 * @since 11.0.0
42
-	 */
43
-	public function getIdentifier() {
44
-		return 'personal_settings';
45
-	}
39
+    /**
40
+     * @return string Lowercase a-z and underscore only identifier
41
+     * @since 11.0.0
42
+     */
43
+    public function getIdentifier() {
44
+        return 'personal_settings';
45
+    }
46 46
 
47
-	/**
48
-	 * @return string A translated string
49
-	 * @since 11.0.0
50
-	 */
51
-	public function getName() {
52
-		return $this->l->t('Your <strong>password</strong> or <strong>email</strong> was modified');
53
-	}
47
+    /**
48
+     * @return string A translated string
49
+     * @since 11.0.0
50
+     */
51
+    public function getName() {
52
+        return $this->l->t('Your <strong>password</strong> or <strong>email</strong> was modified');
53
+    }
54 54
 
55
-	/**
56
-	 * @return int whether the filter should be rather on the top or bottom of
57
-	 * the admin section. The filters are arranged in ascending order of the
58
-	 * priority values. It is required to return a value between 0 and 100.
59
-	 * @since 11.0.0
60
-	 */
61
-	public function getPriority() {
62
-		return 0;
63
-	}
55
+    /**
56
+     * @return int whether the filter should be rather on the top or bottom of
57
+     * the admin section. The filters are arranged in ascending order of the
58
+     * priority values. It is required to return a value between 0 and 100.
59
+     * @since 11.0.0
60
+     */
61
+    public function getPriority() {
62
+        return 0;
63
+    }
64 64
 
65
-	/**
66
-	 * @return bool True when the option can be changed for the stream
67
-	 * @since 11.0.0
68
-	 */
69
-	public function canChangeStream() {
70
-		return false;
71
-	}
65
+    /**
66
+     * @return bool True when the option can be changed for the stream
67
+     * @since 11.0.0
68
+     */
69
+    public function canChangeStream() {
70
+        return false;
71
+    }
72 72
 
73
-	/**
74
-	 * @return bool True when the option can be changed for the stream
75
-	 * @since 11.0.0
76
-	 */
77
-	public function isDefaultEnabledStream() {
78
-		return true;
79
-	}
73
+    /**
74
+     * @return bool True when the option can be changed for the stream
75
+     * @since 11.0.0
76
+     */
77
+    public function isDefaultEnabledStream() {
78
+        return true;
79
+    }
80 80
 
81
-	/**
82
-	 * @return bool True when the option can be changed for the mail
83
-	 * @since 11.0.0
84
-	 */
85
-	public function canChangeMail() {
86
-		return false;
87
-	}
81
+    /**
82
+     * @return bool True when the option can be changed for the mail
83
+     * @since 11.0.0
84
+     */
85
+    public function canChangeMail() {
86
+        return false;
87
+    }
88 88
 
89
-	/**
90
-	 * @return bool True when the option can be changed for the stream
91
-	 * @since 11.0.0
92
-	 */
93
-	public function isDefaultEnabledMail() {
94
-		return false;
95
-	}
89
+    /**
90
+     * @return bool True when the option can be changed for the stream
91
+     * @since 11.0.0
92
+     */
93
+    public function isDefaultEnabledMail() {
94
+        return false;
95
+    }
96 96
 }
Please login to merge, or discard this patch.
apps/settings/lib/Activity/SecurityFilter.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -28,39 +28,39 @@
 block discarded – undo
28 28
 
29 29
 class SecurityFilter implements IFilter {
30 30
 
31
-	/** @var IURLGenerator */
32
-	private $urlGenerator;
31
+    /** @var IURLGenerator */
32
+    private $urlGenerator;
33 33
 
34
-	/** @var IL10N */
35
-	private $l10n;
34
+    /** @var IL10N */
35
+    private $l10n;
36 36
 
37
-	public function __construct(IURLGenerator $urlGenerator, IL10N $l10n) {
38
-		$this->urlGenerator = $urlGenerator;
39
-		$this->l10n = $l10n;
40
-	}
37
+    public function __construct(IURLGenerator $urlGenerator, IL10N $l10n) {
38
+        $this->urlGenerator = $urlGenerator;
39
+        $this->l10n = $l10n;
40
+    }
41 41
 
42
-	public function allowedApps() {
43
-		return [];
44
-	}
42
+    public function allowedApps() {
43
+        return [];
44
+    }
45 45
 
46
-	public function filterTypes(array $types) {
47
-		return array_intersect(['security'], $types);
48
-	}
46
+    public function filterTypes(array $types) {
47
+        return array_intersect(['security'], $types);
48
+    }
49 49
 
50
-	public function getIcon() {
51
-		return $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core', 'actions/password.svg'));
52
-	}
50
+    public function getIcon() {
51
+        return $this->urlGenerator->getAbsoluteURL($this->urlGenerator->imagePath('core', 'actions/password.svg'));
52
+    }
53 53
 
54
-	public function getIdentifier() {
55
-		return 'security';
56
-	}
54
+    public function getIdentifier() {
55
+        return 'security';
56
+    }
57 57
 
58
-	public function getName() {
59
-		return $this->l10n->t('Security');
60
-	}
58
+    public function getName() {
59
+        return $this->l10n->t('Security');
60
+    }
61 61
 
62
-	public function getPriority() {
63
-		return 30;
64
-	}
62
+    public function getPriority() {
63
+        return 30;
64
+    }
65 65
 
66 66
 }
Please login to merge, or discard this patch.
apps/settings/lib/Activity/SecuritySetting.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -27,39 +27,39 @@
 block discarded – undo
27 27
 
28 28
 class SecuritySetting implements ISetting {
29 29
 
30
-	/** @var IL10N */
31
-	private $l10n;
30
+    /** @var IL10N */
31
+    private $l10n;
32 32
 
33
-	public function __construct(IL10N $l10n) {
34
-		$this->l10n = $l10n;
35
-	}
33
+    public function __construct(IL10N $l10n) {
34
+        $this->l10n = $l10n;
35
+    }
36 36
 
37
-	public function canChangeMail() {
38
-		return false;
39
-	}
37
+    public function canChangeMail() {
38
+        return false;
39
+    }
40 40
 
41
-	public function canChangeStream() {
42
-		return false;
43
-	}
41
+    public function canChangeStream() {
42
+        return false;
43
+    }
44 44
 
45
-	public function getIdentifier() {
46
-		return 'security';
47
-	}
45
+    public function getIdentifier() {
46
+        return 'security';
47
+    }
48 48
 
49
-	public function getName() {
50
-		return $this->l10n->t('Security');
51
-	}
49
+    public function getName() {
50
+        return $this->l10n->t('Security');
51
+    }
52 52
 
53
-	public function getPriority() {
54
-		return 30;
55
-	}
53
+    public function getPriority() {
54
+        return 30;
55
+    }
56 56
 
57
-	public function isDefaultEnabledMail() {
58
-		return true;
59
-	}
57
+    public function isDefaultEnabledMail() {
58
+        return true;
59
+    }
60 60
 
61
-	public function isDefaultEnabledStream() {
62
-		return true;
63
-	}
61
+    public function isDefaultEnabledStream() {
62
+        return true;
63
+    }
64 64
 
65 65
 }
Please login to merge, or discard this patch.
apps/settings/composer/composer/ClassLoader.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -370,18 +370,18 @@  discard block
 block discarded – undo
370 370
     private function findFileWithExtension($class, $ext)
371 371
     {
372 372
         // PSR-4 lookup
373
-        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
373
+        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR).$ext;
374 374
 
375 375
         $first = $class[0];
376 376
         if (isset($this->prefixLengthsPsr4[$first])) {
377 377
             $subPath = $class;
378 378
             while (false !== $lastPos = strrpos($subPath, '\\')) {
379 379
                 $subPath = substr($subPath, 0, $lastPos);
380
-                $search = $subPath . '\\';
380
+                $search = $subPath.'\\';
381 381
                 if (isset($this->prefixDirsPsr4[$search])) {
382
-                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
382
+                    $pathEnd = DIRECTORY_SEPARATOR.substr($logicalPathPsr4, $lastPos + 1);
383 383
                     foreach ($this->prefixDirsPsr4[$search] as $dir) {
384
-                        if (file_exists($file = $dir . $pathEnd)) {
384
+                        if (file_exists($file = $dir.$pathEnd)) {
385 385
                             return $file;
386 386
                         }
387 387
                     }
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
 
392 392
         // PSR-4 fallback dirs
393 393
         foreach ($this->fallbackDirsPsr4 as $dir) {
394
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
394
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr4)) {
395 395
                 return $file;
396 396
             }
397 397
         }
@@ -403,14 +403,14 @@  discard block
 block discarded – undo
403 403
                 . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
404 404
         } else {
405 405
             // PEAR-like class name
406
-            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
406
+            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR).$ext;
407 407
         }
408 408
 
409 409
         if (isset($this->prefixesPsr0[$first])) {
410 410
             foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
411 411
                 if (0 === strpos($class, $prefix)) {
412 412
                     foreach ($dirs as $dir) {
413
-                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
413
+                        if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
414 414
                             return $file;
415 415
                         }
416 416
                     }
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
 
421 421
         // PSR-0 fallback dirs
422 422
         foreach ($this->fallbackDirsPsr0 as $dir) {
423
-            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
423
+            if (file_exists($file = $dir.DIRECTORY_SEPARATOR.$logicalPathPsr0)) {
424 424
                 return $file;
425 425
             }
426 426
         }
Please login to merge, or discard this patch.
apps/settings/composer/composer/autoload_psr4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\Settings\\' => array($baseDir . '/../lib'),
9
+    'OCA\\Settings\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
lib/public/Group/Backend/ISetDisplayNameBackend.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
  */
28 28
 interface ISetDisplayNameBackend {
29 29
 
30
-	/**
31
-	 * @param string $gid
32
-	 * @param string $displayName
33
-	 * @return bool
34
-	 * @since 18.0.0
35
-	 */
36
-	public function setDisplayName(string $gid, string $displayName): bool;
30
+    /**
31
+     * @param string $gid
32
+     * @param string $displayName
33
+     * @return bool
34
+     * @since 18.0.0
35
+     */
36
+    public function setDisplayName(string $gid, string $displayName): bool;
37 37
 
38 38
 }
Please login to merge, or discard this patch.
lib/public/Group/Backend/IGetDisplayNameBackend.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  */
30 30
 interface IGetDisplayNameBackend {
31 31
 
32
-	/**
33
-	 * @param string $gid
34
-	 * @return string
35
-	 * @since 17.0.0
36
-	 */
37
-	public function getDisplayName(string $gid): string;
32
+    /**
33
+     * @param string $gid
34
+     * @return string
35
+     * @since 17.0.0
36
+     */
37
+    public function getDisplayName(string $gid): string;
38 38
 
39 39
 }
Please login to merge, or discard this patch.
apps/files_trashbin/lib/Sabre/PropfindPlugin.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -63,49 +63,49 @@
 block discarded – undo
63 63
 			return;
64 64
 		}
65 65
 
66
-		$propFind->handle(self::TRASHBIN_FILENAME, function () use ($node) {
66
+		$propFind->handle(self::TRASHBIN_FILENAME, function() use ($node) {
67 67
 			return $node->getFilename();
68 68
 		});
69 69
 
70
-		$propFind->handle(self::TRASHBIN_ORIGINAL_LOCATION, function () use ($node) {
70
+		$propFind->handle(self::TRASHBIN_ORIGINAL_LOCATION, function() use ($node) {
71 71
 			return $node->getOriginalLocation();
72 72
 		});
73 73
 
74
-		$propFind->handle(self::TRASHBIN_TITLE, function () use ($node) {
74
+		$propFind->handle(self::TRASHBIN_TITLE, function() use ($node) {
75 75
 			return $node->getTitle();
76 76
 		});
77 77
 
78
-		$propFind->handle(self::TRASHBIN_DELETION_TIME, function () use ($node) {
78
+		$propFind->handle(self::TRASHBIN_DELETION_TIME, function() use ($node) {
79 79
 			return $node->getDeletionTime();
80 80
 		});
81 81
 
82
-		$propFind->handle(FilesPlugin::SIZE_PROPERTYNAME, function () use ($node) {
82
+		$propFind->handle(FilesPlugin::SIZE_PROPERTYNAME, function() use ($node) {
83 83
 			return $node->getSize();
84 84
 		});
85 85
 
86
-		$propFind->handle(FilesPlugin::FILEID_PROPERTYNAME, function () use ($node) {
86
+		$propFind->handle(FilesPlugin::FILEID_PROPERTYNAME, function() use ($node) {
87 87
 			return $node->getFileId();
88 88
 		});
89 89
 
90
-		$propFind->handle(FilesPlugin::PERMISSIONS_PROPERTYNAME, function () {
90
+		$propFind->handle(FilesPlugin::PERMISSIONS_PROPERTYNAME, function() {
91 91
 			return 'GD'; // read + delete
92 92
 		});
93 93
 
94
-		$propFind->handle(FilesPlugin::GETETAG_PROPERTYNAME, function () use ($node) {
94
+		$propFind->handle(FilesPlugin::GETETAG_PROPERTYNAME, function() use ($node) {
95 95
 			// add fake etag, it is only needed to identify the preview image
96 96
 			return $node->getLastModified();
97 97
 		});
98 98
 
99
-		$propFind->handle(FilesPlugin::INTERNAL_FILEID_PROPERTYNAME, function () use ($node) {
99
+		$propFind->handle(FilesPlugin::INTERNAL_FILEID_PROPERTYNAME, function() use ($node) {
100 100
 			// add fake etag, it is only needed to identify the preview image
101 101
 			return $node->getFileId();
102 102
 		});
103 103
 
104
-		$propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {
104
+		$propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, function() use ($node) {
105 105
 			return $this->previewManager->isAvailable($node->getFileInfo());
106 106
 		});
107 107
 
108
-		$propFind->handle(FilesPlugin::MOUNT_TYPE_PROPERTYNAME, function () {
108
+		$propFind->handle(FilesPlugin::MOUNT_TYPE_PROPERTYNAME, function() {
109 109
 			return '';
110 110
 		});
111 111
 	}
Please login to merge, or discard this patch.
Indentation   +57 added lines, -57 removed lines patch added patch discarded remove patch
@@ -35,79 +35,79 @@
 block discarded – undo
35 35
 use Sabre\DAV\ServerPlugin;
36 36
 
37 37
 class PropfindPlugin extends ServerPlugin {
38
-	public const TRASHBIN_FILENAME = '{http://nextcloud.org/ns}trashbin-filename';
39
-	public const TRASHBIN_ORIGINAL_LOCATION = '{http://nextcloud.org/ns}trashbin-original-location';
40
-	public const TRASHBIN_DELETION_TIME = '{http://nextcloud.org/ns}trashbin-deletion-time';
41
-	public const TRASHBIN_TITLE = '{http://nextcloud.org/ns}trashbin-title';
38
+    public const TRASHBIN_FILENAME = '{http://nextcloud.org/ns}trashbin-filename';
39
+    public const TRASHBIN_ORIGINAL_LOCATION = '{http://nextcloud.org/ns}trashbin-original-location';
40
+    public const TRASHBIN_DELETION_TIME = '{http://nextcloud.org/ns}trashbin-deletion-time';
41
+    public const TRASHBIN_TITLE = '{http://nextcloud.org/ns}trashbin-title';
42 42
 
43
-	/** @var Server */
44
-	private $server;
43
+    /** @var Server */
44
+    private $server;
45 45
 
46
-	/** @var IPreview */
47
-	private $previewManager;
46
+    /** @var IPreview */
47
+    private $previewManager;
48 48
 
49
-	public function __construct(
50
-		IPreview $previewManager
51
-	) {
52
-		$this->previewManager = $previewManager;
53
-	}
49
+    public function __construct(
50
+        IPreview $previewManager
51
+    ) {
52
+        $this->previewManager = $previewManager;
53
+    }
54 54
 
55
-	public function initialize(Server $server) {
56
-		$this->server = $server;
55
+    public function initialize(Server $server) {
56
+        $this->server = $server;
57 57
 
58
-		$this->server->on('propFind', [$this, 'propFind']);
59
-	}
58
+        $this->server->on('propFind', [$this, 'propFind']);
59
+    }
60 60
 
61 61
 
62
-	public function propFind(PropFind $propFind, INode $node) {
63
-		if (!($node instanceof ITrash)) {
64
-			return;
65
-		}
62
+    public function propFind(PropFind $propFind, INode $node) {
63
+        if (!($node instanceof ITrash)) {
64
+            return;
65
+        }
66 66
 
67
-		$propFind->handle(self::TRASHBIN_FILENAME, function () use ($node) {
68
-			return $node->getFilename();
69
-		});
67
+        $propFind->handle(self::TRASHBIN_FILENAME, function () use ($node) {
68
+            return $node->getFilename();
69
+        });
70 70
 
71
-		$propFind->handle(self::TRASHBIN_ORIGINAL_LOCATION, function () use ($node) {
72
-			return $node->getOriginalLocation();
73
-		});
71
+        $propFind->handle(self::TRASHBIN_ORIGINAL_LOCATION, function () use ($node) {
72
+            return $node->getOriginalLocation();
73
+        });
74 74
 
75
-		$propFind->handle(self::TRASHBIN_TITLE, function () use ($node) {
76
-			return $node->getTitle();
77
-		});
75
+        $propFind->handle(self::TRASHBIN_TITLE, function () use ($node) {
76
+            return $node->getTitle();
77
+        });
78 78
 
79
-		$propFind->handle(self::TRASHBIN_DELETION_TIME, function () use ($node) {
80
-			return $node->getDeletionTime();
81
-		});
79
+        $propFind->handle(self::TRASHBIN_DELETION_TIME, function () use ($node) {
80
+            return $node->getDeletionTime();
81
+        });
82 82
 
83
-		$propFind->handle(FilesPlugin::SIZE_PROPERTYNAME, function () use ($node) {
84
-			return $node->getSize();
85
-		});
83
+        $propFind->handle(FilesPlugin::SIZE_PROPERTYNAME, function () use ($node) {
84
+            return $node->getSize();
85
+        });
86 86
 
87
-		$propFind->handle(FilesPlugin::FILEID_PROPERTYNAME, function () use ($node) {
88
-			return $node->getFileId();
89
-		});
87
+        $propFind->handle(FilesPlugin::FILEID_PROPERTYNAME, function () use ($node) {
88
+            return $node->getFileId();
89
+        });
90 90
 
91
-		$propFind->handle(FilesPlugin::PERMISSIONS_PROPERTYNAME, function () {
92
-			return 'GD'; // read + delete
93
-		});
91
+        $propFind->handle(FilesPlugin::PERMISSIONS_PROPERTYNAME, function () {
92
+            return 'GD'; // read + delete
93
+        });
94 94
 
95
-		$propFind->handle(FilesPlugin::GETETAG_PROPERTYNAME, function () use ($node) {
96
-			// add fake etag, it is only needed to identify the preview image
97
-			return $node->getLastModified();
98
-		});
95
+        $propFind->handle(FilesPlugin::GETETAG_PROPERTYNAME, function () use ($node) {
96
+            // add fake etag, it is only needed to identify the preview image
97
+            return $node->getLastModified();
98
+        });
99 99
 
100
-		$propFind->handle(FilesPlugin::INTERNAL_FILEID_PROPERTYNAME, function () use ($node) {
101
-			// add fake etag, it is only needed to identify the preview image
102
-			return $node->getFileId();
103
-		});
100
+        $propFind->handle(FilesPlugin::INTERNAL_FILEID_PROPERTYNAME, function () use ($node) {
101
+            // add fake etag, it is only needed to identify the preview image
102
+            return $node->getFileId();
103
+        });
104 104
 
105
-		$propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {
106
-			return $this->previewManager->isAvailable($node->getFileInfo());
107
-		});
105
+        $propFind->handle(FilesPlugin::HAS_PREVIEW_PROPERTYNAME, function () use ($node) {
106
+            return $this->previewManager->isAvailable($node->getFileInfo());
107
+        });
108 108
 
109
-		$propFind->handle(FilesPlugin::MOUNT_TYPE_PROPERTYNAME, function () {
110
-			return '';
111
-		});
112
-	}
109
+        $propFind->handle(FilesPlugin::MOUNT_TYPE_PROPERTYNAME, function () {
110
+            return '';
111
+        });
112
+    }
113 113
 }
Please login to merge, or discard this patch.