Passed
Push — develop ( e22c82...346da8 )
by Andrew
04:14
created
src/services/Helper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,11 +55,11 @@  discard block
 block discarded – undo
55 55
                 $dirPrefix = CRAFT_TEMPLATES_PATH;
56 56
             }
57 57
             $name = strstr($name, $dirPrefix);
58
-            $name = (string)str_replace($dirPrefix, '', $name);
58
+            $name = (string) str_replace($dirPrefix, '', $name);
59 59
             $path = FileHelper::createUrl(
60 60
                     $settings->criticalPath,
61 61
                     $name
62
-                ) . $settings->criticalSuffix;
62
+                ).$settings->criticalSuffix;
63 63
 
64 64
             return $this->getCssInlineTags($path, $attributes);
65 65
         }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $settings = Vite::$plugin->getSettings();
100 100
         ManifestHelper::fetchManifest($settings->manifestPath);
101 101
         $tags = ManifestHelper::manifestTags($path, false);
102
-        foreach($tags as $tag) {
102
+        foreach ($tags as $tag) {
103 103
             if (!empty($tag)) {
104 104
                 if ($tag['type'] === 'css') {
105 105
                     // Extract only the Hash Value
Please login to merge, or discard this patch.