Passed
Pull Request — v1 (#26)
by
unknown
07:17
created
src/helpers/Manifest.php 1 patch
Spacing   +4 added lines, -4 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'],
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
                 }
367 367
             }
368 368
             // Otherwise, try not-hot files
369
-            $localPrefix = $config['localFiles']['basePath'] . $config['localFiles']['criticalPrefix'];
369
+            $localPrefix = $config['localFiles']['basePath'].$config['localFiles']['criticalPrefix'];
370 370
             $localPath = self::combinePaths(
371 371
                 $localPrefix,
372 372
                 $path
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
         $cacheKeySuffix = $settings->cacheKeySuffix ?? '';
477 477
         $file = $cache->getOrSet(
478 478
             self::CACHE_KEY.$cacheKeySuffix.$path,
479
-            function () use ($path, $callback) {
479
+            function() use ($path, $callback) {
480 480
                 $result = null;
481 481
                 if (UrlHelper::isAbsoluteUrl($path)) {
482 482
                     /**
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
     protected static function combinePaths(string ...$paths): string
526 526
     {
527 527
         $last_key = count($paths) - 1;
528
-        array_walk($paths, function (&$val, $key) use ($last_key) {
528
+        array_walk($paths, function(&$val, $key) use ($last_key) {
529 529
             switch ($key) {
530 530
                 case 0:
531 531
                     $val = rtrim($val, '/ ');
Please login to merge, or discard this patch.