@@ -45,11 +45,11 @@ discard block |
||
45 | 45 | $value = var_export($node->content, TRUE); |
46 | 46 | $node->content = ''; |
47 | 47 | } else { |
48 | - $node->openingCode = '<?php ob_start(function () {}) ?>' . $node->openingCode; |
|
48 | + $node->openingCode = '<?php ob_start(function () {}) ?>'.$node->openingCode; |
|
49 | 49 | $value = 'ob_get_clean()'; |
50 | 50 | } |
51 | 51 | |
52 | - if (!defined(Engine::class . '::VERSION_ID') || Engine::VERSION_ID < 20804) { |
|
52 | + if (!defined(Engine::class.'::VERSION_ID') || Engine::VERSION_ID < 20804) { |
|
53 | 53 | return $writer->write('$_fi = new LR\FilterInfo(%var); echo %modifyContent($this->filters->filterContent("translate", $_fi, %raw))', $node->context[0], $value); |
54 | 54 | } |
55 | 55 | |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | throw new \Latte\CompileException('Expected message prefix, none given'); |
89 | 89 | } |
90 | 90 | |
91 | - return $writer->write('$_translator = ' . PrefixedTranslator::class . '::register($this, %node.word);'); |
|
91 | + return $writer->write('$_translator = '.PrefixedTranslator::class.'::register($this, %node.word);'); |
|
92 | 92 | } |
93 | 93 | } |
94 | 94 |