Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.

Fix usages of Symfony\Bridge\Twig\Form\TwigRendererInterface #21

Merged
merged 1 commit into from
Jan 13, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Twig/Extension/FormExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace SymfonyHackers\Bundle\FormBundle\Twig\Extension;

use Symfony\Component\Form\FormView;
use Symfony\Bridge\Twig\Form\TwigRendererInterface;
use Symfony\Component\Form\FormRendererInterface;

/**
* FormExtension extends Twig with form capabilities.
Expand All @@ -14,16 +14,16 @@ class FormExtension extends \Twig_Extension
* This property is public so that it can be accessed directly from compiled
* templates without having to call a getter, which slightly decreases performance.
*
* @var \Symfony\Component\Form\FormRendererInterface
* @var FormRendererInterface
*/
public $renderer;

/**
* Constructs.
*
* @param TwigRendererInterface $renderer
* @param FormRendererInterface $renderer
*/
public function __construct(TwigRendererInterface $renderer)
public function __construct(FormRendererInterface $renderer)
{
$this->renderer = $renderer;
}
Expand Down