Skip to content

Commit 7df0a55

Browse files
committed
minor #1940 Removed usage of deprecated constant (hason)
This PR was merged into the 1.x branch. Discussion ---------- Removed usage of deprecated constant Commits ------- f19318d Removed usage of deprecated constant
2 parents 0190f94 + f19318d commit 7df0a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)