Ver Fonte

fix bug in Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper

Stepan Tanasiychuk há 14 anos atrás
pai
commit
8ec6878a2a

+ 2 - 2
src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php

@@ -14,7 +14,7 @@ namespace Symfony\Bundle\FrameworkBundle\Templating\Helper;
 use Symfony\Component\Templating\Helper\Helper;
 use Symfony\Component\Form\FieldInterface;
 use Symfony\Component\Form\FieldGroupInterface;
-use Symfony\Bundle\FrameworkBundle\Templating\DelegatingEngine;
+use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface;
 
 /**
  * Form is a factory that wraps Form instances.
@@ -28,7 +28,7 @@ class FormHelper extends Helper
 
     protected $engine;
 
-    public function __construct(DelegatingEngine $engine)
+    public function __construct(EngineInterface $engine)
     {
         $this->engine = $engine;
     }