@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | $cache = Craft::$app->getCache(); |
259 | 259 | $file = $cache->getOrSet( |
260 | 260 | self::CACHE_KEY.$path, |
261 | - function () use ($path) { |
|
261 | + function() use ($path) { |
|
262 | 262 | $result = null; |
263 | 263 | $string = @file_get_contents($path); |
264 | 264 | if ($string) { |
@@ -285,7 +285,7 @@ discard block |
||
285 | 285 | protected static function combinePaths(string ...$paths): string |
286 | 286 | { |
287 | 287 | $last_key = \count($paths) - 1; |
288 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
288 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
289 | 289 | switch ($key) { |
290 | 290 | case 0: |
291 | 291 | $val = rtrim($val, '/ '); |