fix bug in Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper
This commit is contained in:
parent
e4eb7f720b
commit
8ec6878a2a
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user