Passed
Push — develop ( 6211d4...a08b0d )
by Andrew
04:00
created
src/helpers/Manifest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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, '/ ');
Please login to merge, or discard this patch.
src/variables/ManifestVariable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
         self::$config['server']['publicPath'] = $baseAssetsUrl;
52 52
         $useDevServer = getenv('NYS_PLUGIN_DEVSERVER');
53 53
         if ($useDevServer !== false) {
54
-            self::$config['useDevServer'] = (bool)$useDevServer;
54
+            self::$config['useDevServer'] = (bool) $useDevServer;
55 55
         }
56 56
     }
57 57
 
Please login to merge, or discard this patch.