| @@ -14,6 +14,6 @@ | ||
| 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 | 
| @@ -33,7 +33,7 @@ discard block | ||
| 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 | ||
| 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 | } |