Completed
Push — master ( f0d869...a40c49 )
by Arman
57s queued 53s
created
src/Libraries/Module/ModuleManager.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
      * @param string $srcPath
201 201
      * @param string $dstPath
202 202
      */
203
-    private function processTemplates(string $srcPath, string $dstPath){
203
+    private function processTemplates(string $srcPath, string $dstPath) {
204 204
         $dstPath = str_replace('.tpl', '.php', $dstPath);
205 205
         $content = $this->fs->get($srcPath);
206 206
         $processedContent = $this->replacePlaceholders($content);
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
     private function replacePlaceholders(string $content): string
215 215
     {
216 216
         $placeholders = [
217
-            '{{MODULE_NAMESPACE}}' => $this->getBaseNamespace() .'\\' . $this->getModuleName(),
217
+            '{{MODULE_NAMESPACE}}' => $this->getBaseNamespace() . '\\' . $this->getModuleName(),
218 218
             '{{MODULE_NAME}}' => $this->getModuleName(),
219 219
         ];
220 220
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,8 +188,7 @@
 block discarded – undo
188 188
             } else {
189 189
                 if ($processTemplates) {
190 190
                     $this->processTemplates($srcPath, $dstPath);
191
-                }
192
-                else {
191
+                } else {
193 192
                     $this->fs->copy($srcPath, $dstPath);
194 193
                 }
195 194
             }
Please login to merge, or discard this patch.