Passed
Push — v1 ( 22fd55...c9413e )
by Andrew
13:16 queued 07:48
created
src/helpers/Manifest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 $dirPrefix = CRAFT_TEMPLATES_PATH;
114 114
             }
115 115
             $name = strstr($name, $dirPrefix);
116
-            $name = (string)str_replace($dirPrefix, '', $name);
116
+            $name = (string) str_replace($dirPrefix, '', $name);
117 117
             $path = self::combinePaths(
118 118
                     $config['localFiles']['basePath'],
119 119
                     $config['localFiles']['criticalPrefix'],
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
         $cacheKeySuffix = $settings->cacheKeySuffix ?? '';
458 458
         $file = $cache->getOrSet(
459 459
             self::CACHE_KEY.$cacheKeySuffix.$path,
460
-            function () use ($path, $callback) {
460
+            function() use ($path, $callback) {
461 461
                 $result = null;
462 462
                 if (UrlHelper::isAbsoluteUrl($path)) {
463 463
                     /**
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
     protected static function combinePaths(string ...$paths): string
507 507
     {
508 508
         $last_key = count($paths) - 1;
509
-        array_walk($paths, function (&$val, $key) use ($last_key) {
509
+        array_walk($paths, function(&$val, $key) use ($last_key) {
510 510
             switch ($key) {
511 511
                 case 0:
512 512
                     $val = rtrim($val, '/ ');
Please login to merge, or discard this patch.
src/config.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         'errorEntry' => '',
33 33
         // String to be appended to the cache key
34 34
         'cacheKeySuffix' => '',
35
-       // Manifest file names
35
+        // Manifest file names
36 36
         'manifest' => [
37 37
             'legacy' => 'manifest-legacy.json',
38 38
             'modern' => 'manifest.json',
Please login to merge, or discard this patch.