Skip to content

Commit

Permalink
Removed usage of deprecated constant
Browse files Browse the repository at this point in the history
  • Loading branch information
hason committed Dec 14, 2015
1 parent db93842 commit f19318d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Twig/ExpressionParser.php
Expand Up @@ -373,7 +373,7 @@ public function parseSubscriptExpression($node)
$arg = new Twig_Node_Expression_Constant($token->getValue(), $lineno);

if ($stream->test(Twig_Token::PUNCTUATION_TYPE, '(')) {
$type = Twig_TemplateInterface::METHOD_CALL;
$type = Twig_Template::METHOD_CALL;
foreach ($this->parseArguments() as $n) {
$arguments->addElement($n);
}
Expand Down

0 comments on commit f19318d

Please sign in to comment.