Passed
Push — develop ( 9e53bd...1a0da0 )
by Andrew
11:23 queued 18s
created
src/services/ViteService.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
                 // Replace the hard-coded dev server URL with whatever they have theirs set to
212 212
                 $script = str_replace(
213 213
                     'http://localhost:3000/',
214
-                    rtrim($this->devServerPublic, '/') . '/',
214
+                    rtrim($this->devServerPublic, '/').'/',
215 215
                     $script
216 216
                 );
217 217
                 $view->registerScript(
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
         $view->registerJsFile(
231 231
             $url,
232 232
             array_merge(['type' => 'module'], $scriptTagAttrs),
233
-            md5($url . JsonHelper::encode($scriptTagAttrs))
233
+            md5($url.JsonHelper::encode($scriptTagAttrs))
234 234
         );
235 235
     }
236 236
 
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
     public function invalidateCaches()
352 352
     {
353 353
         $cache = Craft::$app->getCache();
354
-        TagDependency::invalidate($cache, FileHelper::CACHE_TAG . $this->cacheKeySuffix);
354
+        TagDependency::invalidate($cache, FileHelper::CACHE_TAG.$this->cacheKeySuffix);
355 355
         Craft::info('All Vite caches cleared', __METHOD__);
356 356
     }
357 357
 
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
                 // Replace the hard-coded dev server URL with whatever they have theirs set to
395 395
                 $script = str_replace(
396 396
                     'http://localhost:3000/',
397
-                    rtrim($this->devServerPublic, '/') . '/',
397
+                    rtrim($this->devServerPublic, '/').'/',
398 398
                     $script
399 399
                 );
400 400
                 $lines[] = HtmlHelper::script(
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
                         $view->registerJsFile(
478 478
                             $url,
479 479
                             $tag['options'],
480
-                            md5($url . JsonHelper::encode($tag['options']))
480
+                            md5($url.JsonHelper::encode($tag['options']))
481 481
                         );
482 482
                         break;
483 483
                     case 'css':
Please login to merge, or discard this patch.