We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db93842 commit f19318dCopy full SHA for f19318d
1 file changed
lib/Twig/ExpressionParser.php
@@ -373,7 +373,7 @@ public function parseSubscriptExpression($node)
373
$arg = new Twig_Node_Expression_Constant($token->getValue(), $lineno);
374
375
if ($stream->test(Twig_Token::PUNCTUATION_TYPE, '(')) {
376
- $type = Twig_TemplateInterface::METHOD_CALL;
+ $type = Twig_Template::METHOD_CALL;
377
foreach ($this->parseArguments() as $n) {
378
$arguments->addElement($n);
379
}
0 commit comments