@@ -46,7 +46,7 @@ |
||
46 | 46 | self::$config['server']['manifestPath'] = Craft::getAlias($bundle->sourcePath); |
47 | 47 | $useDevServer = getenv('NYS_PLUGIN_DEVSERVER'); |
48 | 48 | if ($useDevServer !== false) { |
49 | - self::$config['useDevServer'] = (bool)$useDevServer; |
|
49 | + self::$config['useDevServer'] = (bool) $useDevServer; |
|
50 | 50 | } |
51 | 51 | } |
52 | 52 |
@@ -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, '/ '); |