@@ -113,7 +113,7 @@ discard block  | 
                                                    ||
| 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'],  | 
                                                        
@@ -455,7 +455,7 @@ discard block  | 
                                                    ||
| 455 | 455 | $cache = Craft::$app->getCache();  | 
                                                        
| 456 | 456 | $file = $cache->getOrSet(  | 
                                                        
| 457 | 457 | self::CACHE_KEY.$path,  | 
                                                        
| 458 | -            function () use ($path, $callback) { | 
                                                        |
| 458 | +            function() use ($path, $callback) { | 
                                                        |
| 459 | 459 | $result = null;  | 
                                                        
| 460 | 460 |                  if (UrlHelper::isAbsoluteUrl($path)) { | 
                                                        
| 461 | 461 | /**  | 
                                                        
@@ -504,7 +504,7 @@ discard block  | 
                                                    ||
| 504 | 504 | protected static function combinePaths(string ...$paths): string  | 
                                                        
| 505 | 505 |      { | 
                                                        
| 506 | 506 | $last_key = count($paths) - 1;  | 
                                                        
| 507 | -        array_walk($paths, function (&$val, $key) use ($last_key) { | 
                                                        |
| 507 | +        array_walk($paths, function(&$val, $key) use ($last_key) { | 
                                                        |
| 508 | 508 |              switch ($key) { | 
                                                        
| 509 | 509 | case 0:  | 
                                                        
| 510 | 510 | $val = rtrim($val, '/ ');  |