Pārlūkot izejas kodu

[TwigBundle] made a small optimization

Fabien Potencier 14 gadi atpakaļ
vecāks
revīzija
1687831cb7

+ 1 - 1
src/Symfony/Bundle/TwigBundle/TokenParser/HelperTokenParser.php

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