mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
fix deprecations: setDefaultOptions -> configureOptions
This commit is contained in:
@@ -88,7 +88,7 @@ class CreationPersonType extends AbstractType
|
||||
->add('lastName')
|
||||
->add('birthdate', DateType::class, array('required' => false,
|
||||
'widget' => 'single_text', 'format' => 'dd-MM-yyyy'))
|
||||
->add('gender', new GenderType(), array(
|
||||
->add('gender', GenderType::class, array(
|
||||
'required' => true, 'empty_value' => null
|
||||
))
|
||||
->add('creation_date', DateType::class, array(
|
||||
|
Reference in New Issue
Block a user