mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
fix deprecations: use fqcn for chill classes
This commit is contained in:
@@ -26,6 +26,7 @@ use Chill\MainBundle\Form\Type\DataTransformer\ObjectToIdTransformer;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Doctrine\Common\Persistence\ObjectManager;
|
||||
use Chill\MainBundle\Form\Type\Select2ChoiceType;
|
||||
|
||||
/**
|
||||
* A type to select the marital status
|
||||
@@ -45,13 +46,13 @@ class Select2MaritalStatusType extends AbstractType
|
||||
$this->requestStack = $requestStack;
|
||||
$this->em = $em;
|
||||
}
|
||||
|
||||
|
||||
public function getName() {
|
||||
return 'select2_chill_marital_status';
|
||||
}
|
||||
|
||||
|
||||
public function getParent() {
|
||||
return 'select2_choice';
|
||||
return Select2ChoiceType::class;
|
||||
}
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
|
Reference in New Issue
Block a user