Skip to content

Commit 67fdb93

Browse files
committed
[4.3] Remove unused local variables
1 parent 3cb9263 commit 67fdb93

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
@@ -57,8 +57,6 @@ public function compile(Compiler $compiler)
5757
}
5858
list($msg, $defaults) = $this->compileString($this->getNode('body'), $defaults, (bool) $vars);
5959

60-
$method = !$this->hasNode('count') ? 'trans' : 'transChoice';
61-
6260
$compiler
6361
->write('echo $this->env->getExtension(\'Symfony\Bridge\Twig\Extension\TranslationExtension\')->trans(')
6462
->subcompile($msg)

0 commit comments

Comments
 (0)