Skip to content

Commit f19318d

Browse files
committed
Removed usage of deprecated constant
1 parent db93842 commit f19318d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Twig/ExpressionParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public function parseSubscriptExpression($node)
373373
$arg = new Twig_Node_Expression_Constant($token->getValue(), $lineno);
374374

375375
if ($stream->test(Twig_Token::PUNCTUATION_TYPE, '(')) {
376-
$type = Twig_TemplateInterface::METHOD_CALL;
376+
$type = Twig_Template::METHOD_CALL;
377377
foreach ($this->parseArguments() as $n) {
378378
$arguments->addElement($n);
379379
}

0 commit comments

Comments
 (0)