[TwigBridge] Add missing type hint to TwigRenderer

This commit is contained in:
Jáchym Toušek 2016-06-15 23:06:35 +02:00 committed by GitHub
parent a7ed68b38f
commit dd481d2233
1 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@
namespace Symfony\Bridge\Twig\Form;
use Symfony\Component\Form\FormRenderer;
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
@ -23,7 +24,7 @@ class TwigRenderer extends FormRenderer implements TwigRendererInterface
*/
private $engine;
public function __construct(TwigRendererEngineInterface $engine, $csrfTokenManager = null)
public function __construct(TwigRendererEngineInterface $engine, CsrfTokenManagerInterface $csrfTokenManager = null)
{
parent::__construct($engine, $csrfTokenManager);