@@ -438,7 +438,7 @@ discard block |
||
438 | 438 | $cache = Craft::$app->getCache(); |
439 | 439 | $file = $cache->getOrSet( |
440 | 440 | self::CACHE_KEY.$path, |
441 | - function () use ($path, $callback) { |
|
441 | + function() use ($path, $callback) { |
|
442 | 442 | $result = null; |
443 | 443 | if (UrlHelper::isAbsoluteUrl($path)) { |
444 | 444 | /** |
@@ -487,7 +487,7 @@ discard block |
||
487 | 487 | protected static function combinePaths(string ...$paths): string |
488 | 488 | { |
489 | 489 | $last_key = \count($paths) - 1; |
490 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
490 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
491 | 491 | switch ($key) { |
492 | 492 | case 0: |
493 | 493 | $val = rtrim($val, '/ '); |