Completed
Push — master ( acc5e4...2fe4c2 )
by Alexpts
02:46
created
src/PTS/SymfonyAsset/LastModifyStrategy.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function getVersion($path): string
27 27
     {
28
-        $path = $this->staticDir . '/' . $path;
29
-        return file_exists($path) ? (string)filemtime($path) : '';
28
+        $path = $this->staticDir.'/'.$path;
29
+        return file_exists($path) ? (string) filemtime($path) : '';
30 30
     }
31 31
 
32 32
     /**
@@ -39,10 +39,10 @@  discard block
 block discarded – undo
39 39
 
40 40
         if ($this->cdnHost) {
41 41
             if (mb_substr($path, 0, 1, "UTF-8") !== '/') {
42
-                $path = '/' . $path;
42
+                $path = '/'.$path;
43 43
             }
44 44
 
45
-            $path = '//' . $this->cdnHost . $path;
45
+            $path = '//'.$this->cdnHost.$path;
46 46
         }
47 47
 
48 48
         return $path;
Please login to merge, or discard this patch.