@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | $cache = Craft::$app->getCache(); |
404 | 404 | $file = $cache->getOrSet( |
405 | 405 | self::CACHE_KEY.$path, |
406 | - function () use ($path, $callback) { |
|
406 | + function() use ($path, $callback) { |
|
407 | 407 | $result = null; |
408 | 408 | $contents = @file_get_contents($path); |
409 | 409 | if ($contents) { |
@@ -433,7 +433,7 @@ discard block |
||
433 | 433 | protected static function combinePaths(string ...$paths): string |
434 | 434 | { |
435 | 435 | $last_key = \count($paths) - 1; |
436 | - array_walk($paths, function (&$val, $key) use ($last_key) { |
|
436 | + array_walk($paths, function(&$val, $key) use ($last_key) { |
|
437 | 437 | switch ($key) { |
438 | 438 | case 0: |
439 | 439 | $val = rtrim($val, '/ '); |
@@ -55,7 +55,7 @@ |
||
55 | 55 | self::$config['server']['publicPath'] = $baseAssetsUrl; |
56 | 56 | $useDevServer = getenv('NYS_PLUGIN_DEVSERVER'); |
57 | 57 | if ($useDevServer !== false) { |
58 | - self::$config['useDevServer'] = (bool)$useDevServer; |
|
58 | + self::$config['useDevServer'] = (bool) $useDevServer; |
|
59 | 59 | } |
60 | 60 | } |
61 | 61 |