@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | $this->logger->error('Could not find resource {resource} to load', [ |
121 | - 'resource' => $app . '/' . $script . '.js', |
|
121 | + 'resource' => $app.'/'.$script.'.js', |
|
122 | 122 | 'app' => 'jsresourceloader', |
123 | 123 | ]); |
124 | 124 | } |
@@ -134,8 +134,8 @@ discard block |
||
134 | 134 | * @see appendIfExist() |
135 | 135 | */ |
136 | 136 | protected function appendScriptIfExist(string $root, string $file, string $webRoot = null) { |
137 | - if (!$this->appendIfExist($root, $file . '.mjs', $webRoot)) { |
|
138 | - return $this->appendIfExist($root, $file . '.js', $webRoot); |
|
137 | + if (!$this->appendIfExist($root, $file.'.mjs', $webRoot)) { |
|
138 | + return $this->appendIfExist($root, $file.'.js', $webRoot); |
|
139 | 139 | } |
140 | 140 | return true; |
141 | 141 | } |