Skip to content

Commit e94fc9c

Browse files
Merge branch '4.3' into 4.4
* 4.3: [4.3] Remove unused local variables
2 parents 6874ceb + 67fdb93 commit e94fc9c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Node/TransNode.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ public function compile(Compiler $compiler)
6262
}
6363
list($msg, $defaults) = $this->compileString($this->getNode('body'), $defaults, (bool) $vars);
6464

65-
$method = !$this->hasNode('count') ? 'trans' : 'transChoice';
66-
6765
$compiler
6866
->write('echo $this->env->getExtension(\'Symfony\Bridge\Twig\Extension\TranslationExtension\')->trans(')
6967
->subcompile($msg)

0 commit comments

Comments
 (0)