Skip to content

Commit 4d8d083

Browse files
minor symfony#19065 [TwigBridge] Add missing type hint to TwigRenderer (enumag)
This PR was merged into the 3.0 branch. Discussion ---------- [TwigBridge] Add missing type hint to TwigRenderer | Q | A | ------------- | --- | Branch? | 3.0 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- dd481d2 [TwigBridge] Add missing type hint to TwigRenderer
2 parents a7ed68b + dd481d2 commit 4d8d083

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Bridge/Twig/Form/TwigRenderer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Bridge\Twig\Form;
1313

1414
use Symfony\Component\Form\FormRenderer;
15+
use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface;
1516

1617
/**
1718
* @author Bernhard Schussek <[email protected]>
@@ -23,7 +24,7 @@ class TwigRenderer extends FormRenderer implements TwigRendererInterface
2324
*/
2425
private $engine;
2526

26-
public function __construct(TwigRendererEngineInterface $engine, $csrfTokenManager = null)
27+
public function __construct(TwigRendererEngineInterface $engine, CsrfTokenManagerInterface $csrfTokenManager = null)
2728
{
2829
parent::__construct($engine, $csrfTokenManager);
2930

0 commit comments

Comments
 (0)