Completed
Push — master ( 57124c...4c4a02 )
by Jáchym
01:30
created
src/Latte/TranslateMacros.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.