mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
use fqcn for chill classes
This commit is contained in:
parent
f8a61bd178
commit
ae9db21633
@ -26,6 +26,7 @@ use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Chill\MainBundle\Form\Type\DataTransformer\ObjectToIdTransformer;
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
use Chill\MainBundle\Form\Type\Select2ChoiceType;
|
||||
|
||||
/**
|
||||
* Extends choice to allow adding select2 library on widget
|
||||
@ -64,7 +65,7 @@ class Select2CountryType extends AbstractType
|
||||
|
||||
public function getParent()
|
||||
{
|
||||
return 'select2_choice';
|
||||
return Select2ChoiceType::class;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
@ -26,6 +26,7 @@ use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Chill\MainBundle\Form\Type\DataTransformer\MultipleObjectsToIdTransformer;
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
use Chill\MainBundle\Form\Type\Select2ChoiceType;
|
||||
|
||||
/**
|
||||
* Extends choice to allow adding select2 library on widget for languages (multiple)
|
||||
@ -61,7 +62,7 @@ class Select2LanguageType extends AbstractType
|
||||
|
||||
public function getParent()
|
||||
{
|
||||
return 'select2_choice';
|
||||
return Select2ChoiceType::class;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
Loading…
x
Reference in New Issue
Block a user