diff --git a/Form/Extension/DescriptionFormTypeExtension.php b/Form/Extension/DescriptionFormTypeExtension.php index 437f39e..f088363 100644 --- a/Form/Extension/DescriptionFormTypeExtension.php +++ b/Form/Extension/DescriptionFormTypeExtension.php @@ -14,7 +14,7 @@ namespace Nelmio\ApiDocBundle\Form\Extension; use Symfony\Component\Form\AbstractTypeExtension; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormInterface; -use Symfony\Component\Form\FormViewInterface; +use Symfony\Component\Form\FormView; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class DescriptionFormTypeExtension extends AbstractTypeExtension @@ -30,7 +30,7 @@ class DescriptionFormTypeExtension extends AbstractTypeExtension /** * {@inheritdoc} */ - public function buildView(FormViewInterface $view, FormInterface $form, array $options) + public function buildView(FormView $view, FormInterface $form, array $options) { $view->setVar('description', $options['description']); }