[TwigBundle] made a small optimization

This commit is contained in:
Fabien Potencier 2010-08-22 15:36:09 +02:00
parent 0319838cdc
commit 1687831cb7

View File

@ -55,7 +55,7 @@ class HelperTokenParser extends \Twig_SimpleTokenParser
{ {
return $this->output( return $this->output(
$this->markAsSafe( $this->markAsSafe(
$this->getAttribute( $this->call(
$this->getAttribute('_view', $this->helper), $this->getAttribute('_view', $this->helper),
$this->method, $this->method,
$this->getNodeValues($values) $this->getNodeValues($values)