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

This commit is contained in:
Stepan Tanasiychuk 2011-01-25 01:21:28 +02:00 committed by Fabien Potencier
parent e4eb7f720b
commit 8ec6878a2a

View File

@ -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;
}