From f19318d0e7e0c2d203b58d07f70fa991c1e7b2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Haso=C5=88?= Date: Mon, 14 Dec 2015 09:19:50 +0100 Subject: [PATCH] Removed usage of deprecated constant --- lib/Twig/ExpressionParser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Twig/ExpressionParser.php b/lib/Twig/ExpressionParser.php index cad11af5ec..576fcb571e 100644 --- a/lib/Twig/ExpressionParser.php +++ b/lib/Twig/ExpressionParser.php @@ -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); }