Skip to content

Commit ababe1a

Browse files
committed
simplified code
1 parent df9c40a commit ababe1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ExpressionParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ private function parseTestExpression(\Twig_NodeInterface $node)
627627
$class = $this->getTestNodeClass($test);
628628
$arguments = null;
629629
if ($stream->test(Token::PUNCTUATION_TYPE, '(')) {
630-
$arguments = $this->parser->getExpressionParser()->parseArguments(true);
630+
$arguments = $this->parseArguments(true);
631631
}
632632

633633
return new $class($node, $name, $arguments, $this->parser->getCurrentToken()->getLine());

0 commit comments

Comments
 (0)