@@ -407,7 +407,7 @@ discard block |
||
| 407 | 407 | $cache = Craft::$app->getCache(); |
| 408 | 408 | $file = $cache->getOrSet( |
| 409 | 409 | self::CACHE_KEY.$path, |
| 410 | - function () use ($path, $callback) { |
|
| 410 | + function() use ($path, $callback) { |
|
| 411 | 411 | $result = null; |
| 412 | 412 | $contents = @file_get_contents($path); |
| 413 | 413 | if ($contents) { |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | protected static function combinePaths(string ...$paths): string |
| 438 | 438 | { |
| 439 | 439 | $last_key = \count($paths) - 1; |
| 440 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
| 440 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
| 441 | 441 | switch ($key) { |
| 442 | 442 | case 0: |
| 443 | 443 | $val = rtrim($val, '/ '); |