@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | $cache = Craft::$app->getCache(); |
287 | 287 | $file = $cache->getOrSet( |
288 | 288 | self::CACHE_KEY.$path, |
289 | - function () use ($path) { |
|
289 | + function() use ($path) { |
|
290 | 290 | $result = null; |
291 | 291 | $string = @file_get_contents($path); |
292 | 292 | if ($string) { |
@@ -313,7 +313,7 @@ discard block |
||
313 | 313 | protected static function combinePaths(string ...$paths): string |
314 | 314 | { |
315 | 315 | $last_key = \count($paths) - 1; |
316 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
316 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
317 | 317 | switch ($key) { |
318 | 318 | case 0: |
319 | 319 | $val = rtrim($val, '/ '); |