Passed
Push — develop ( dc8dba...6cf89b )
by Andrew
07:35 queued 02:36
created
src/helpers/ManifestHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,14 +50,14 @@  discard block
 block discarded – undo
50 50
     public static function fetchManifest(string $manifestPath)
51 51
     {
52 52
         // Grab the manifest
53
-        $pathOrUrl = (string)Craft::parseEnv($manifestPath);
53
+        $pathOrUrl = (string) Craft::parseEnv($manifestPath);
54 54
         $manifest = FileHelper::fetch($pathOrUrl, [JsonHelper::class, 'decodeIfJson']);
55 55
         // If no manifest file is found, log it
56 56
         if ($manifest === null) {
57
-            Craft::error('Manifest not found at ' . $manifestPath, __METHOD__);
57
+            Craft::error('Manifest not found at '.$manifestPath, __METHOD__);
58 58
         }
59 59
         // Ensure we're dealing with an array
60
-        self::$manifest = (array)$manifest;
60
+        self::$manifest = (array) $manifest;
61 61
     }
62 62
 
63 63
     /**
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
             $filename = implode('.', $filenameParts);
265 265
         }
266 266
 
267
-        return (string)$filename;
267
+        return (string) $filename;
268 268
     }
269 269
 
270 270
     /**
Please login to merge, or discard this patch.