@@ -25,8 +25,8 @@ discard block |
||
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 |
||
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; |