Passed
Push — main ( c55d15...c81265 )
by Alex
01:27
created
src/Template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
         $this->setIndex(file_get_contents(TEMPLATE_PATH . "/{$this->getTheme()}/$index.{$this->getExt()}"));
15 15
         $this->page();
16 16
         $this->route();
17
-        $this->text($this->getTheme(). '_'. str_replace("/","_", $pathFile));
17
+        $this->text($this->getTheme() . '_' . str_replace("/", "_", $pathFile));
18 18
     }
19 19
 }
20 20
\ No newline at end of file
Please login to merge, or discard this patch.
src/TraitTemplate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
             $data = new stdClass();
34 34
             $data->file = 'route';
35 35
             $data->text = $route;
36
-            $text = (new Translate())->data( $data)->target()->response();
36
+            $text = (new Translate())->data($data)->target()->response();
37 37
             $this->setIndex(str_replace($matches[0][$key], $text->translate, $this->getIndex()));
38 38
         }
39 39
     }
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
             $data = new stdClass();
49 49
             $data->file = $fileTranslator;
50 50
             $data->text = $matches[1][$key];
51
-            $text = (new Translate())->data( $data)->target()->response();
51
+            $text = (new Translate())->data($data)->target()->response();
52 52
             $this->setIndex(str_replace($matches[0][$key], $text->translate, $this->getIndex()));
53 53
         }
54 54
     }
Please login to merge, or discard this patch.