use fqcn for chill classes

This commit is contained in:
nobohan 2018-04-04 12:21:08 +02:00
parent f8a61bd178
commit ae9db21633
2 changed files with 4 additions and 2 deletions

View File

@ -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)

View File

@ -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)