@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | $cache = Craft::$app->getCache(); |
327 | 327 | $file = $cache->getOrSet( |
328 | 328 | self::CACHE_KEY.$path, |
329 | - function () use ($path, $callback) { |
|
329 | + function() use ($path, $callback) { |
|
330 | 330 | $result = @file_get_contents($path); |
331 | 331 | if ($result && $callback) { |
332 | 332 | $result = $callback($result); |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | protected static function combinePaths(string ...$paths): string |
353 | 353 | { |
354 | 354 | $last_key = \count($paths) - 1; |
355 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
355 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
356 | 356 | switch ($key) { |
357 | 357 | case 0: |
358 | 358 | $val = rtrim($val, '/ '); |