Removed usage of deprecated constant

This commit is contained in:
Martin Hasoň
2015-12-14 09:19:50 +01:00
parent db93842e80
commit f19318d0e7
+1 -1
View File
@@ -373,7 +373,7 @@ class Twig_ExpressionParser
$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);
}