Passed
Branch main (098272)
by Alex
02:12 queued 01:04
created
src/Template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,6 +15,6 @@
 block discarded – undo
15 15
         $this->setIndex(file_get_contents(TEMPLATE_PATH . "/{$this->getThemeIndex()}/$index.{$this->getExt()}"));
16 16
         $this->page();
17 17
         $this->route();
18
-        $this->text($this->getThemeIndex(). '_'. str_replace("/","_", $pathFile), $module);
18
+        $this->text($this->getThemeIndex() . '_' . str_replace("/", "_", $pathFile), $module);
19 19
     }
20 20
 }
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
src/TraitTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             $data = new stdClass();
45 45
             $data->file = 'route';
46 46
             $data->text = $route;
47
-            $text = $this->translate->data( $data)->target()->response();
47
+            $text = $this->translate->data($data)->target()->response();
48 48
             $this->setIndex(str_replace($matches[0][$key], $text->translate, $this->getIndex()));
49 49
         }
50 50
     }
Please login to merge, or discard this patch.