Passed
Push — master ( 0d3df2...174c22 )
by John
17:51 queued 13s
created
lib/private/Template/JSResourceLocator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.