mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix deprecations: use fqcn for 'choice'
This commit is contained in:
parent
ae9db21633
commit
c9ce6055b2
@ -22,6 +22,7 @@ namespace Chill\MainBundle\Form\Type;
|
||||
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
||||
|
||||
/**
|
||||
* Extends choice to allow adding select2 library on widget
|
||||
@ -37,7 +38,7 @@ class Select2ChoiceType extends AbstractType
|
||||
|
||||
public function getParent()
|
||||
{
|
||||
return 'choice';
|
||||
return ChoiceType::class;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
Loading…
x
Reference in New Issue
Block a user