From: Fabien Potencier Date: Mon, 23 Jan 2012 09:19:16 +0000 (+0100) Subject: fixed typo X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=a57804d20423e59665be816b70452a162624ee83;p=web%2Fkonrad%2Ftwig.git fixed typo --- diff --git a/lib/Twig/ExpressionParser.php b/lib/Twig/ExpressionParser.php index 8cf91d8..0f35930 100644 --- a/lib/Twig/ExpressionParser.php +++ b/lib/Twig/ExpressionParser.php @@ -469,7 +469,7 @@ class Twig_ExpressionParser protected function getFunctionNodeClass($name) { $functionMap = $this->parser->getEnvironment()->getFunctions(); - if (isset($functionMap[$name]) && $functionMap[$name] instanceof Twig_Filter_Node) { + if (isset($functionMap[$name]) && $functionMap[$name] instanceof Twig_Function_Node) { return $functionMap[$name]->getClass(); }