@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | $cache = Craft::$app->getCache(); |
| 301 | 301 | $file = $cache->getOrSet( |
| 302 | 302 | self::CACHE_KEY.$path, |
| 303 | - function () use ($path) { |
|
| 303 | + function() use ($path) { |
|
| 304 | 304 | $result = null; |
| 305 | 305 | $string = @file_get_contents($path); |
| 306 | 306 | if ($string) { |
@@ -327,7 +327,7 @@ discard block |
||
| 327 | 327 | protected static function combinePaths(string ...$paths): string |
| 328 | 328 | { |
| 329 | 329 | $last_key = \count($paths) - 1; |
| 330 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
| 330 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
| 331 | 331 | switch ($key) { |
| 332 | 332 | case 0: |
| 333 | 333 | $val = rtrim($val, '/ '); |