Commit 3459755d authored by Julien Minet's avatar Julien Minet

fix deprecations: use fqcn for EntityType in getParent

parent 696dd8f0
Pipeline #46216 failed with stages
in 5 minutes and 25 seconds
......@@ -6,6 +6,7 @@ use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
* A type to add a closing motive
......@@ -31,7 +32,7 @@ class ClosingMotiveType extends AbstractType
public function getParent()
return 'entity';
return EntityType::class;
public function configureOptions(OptionsResolver $resolver)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment