mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
form master BC break
This commit is contained in:
parent
ec757e3790
commit
8d7d81b5be
@ -14,7 +14,7 @@ namespace Nelmio\ApiDocBundle\Form\Extension;
|
|||||||
use Symfony\Component\Form\AbstractTypeExtension;
|
use Symfony\Component\Form\AbstractTypeExtension;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
use Symfony\Component\Form\FormInterface;
|
use Symfony\Component\Form\FormInterface;
|
||||||
use Symfony\Component\Form\FormViewInterface;
|
use Symfony\Component\Form\FormView;
|
||||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||||
|
|
||||||
class DescriptionFormTypeExtension extends AbstractTypeExtension
|
class DescriptionFormTypeExtension extends AbstractTypeExtension
|
||||||
@ -30,7 +30,7 @@ class DescriptionFormTypeExtension extends AbstractTypeExtension
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function buildView(FormViewInterface $view, FormInterface $form, array $options)
|
public function buildView(FormView $view, FormInterface $form, array $options)
|
||||||
{
|
{
|
||||||
$view->setVar('description', $options['description']);
|
$view->setVar('description', $options['description']);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user