mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
fix deprecations: remove array in setAllowedTypes
This commit is contained in:
parent
a35fd76053
commit
2cfe83e69c
@ -49,7 +49,7 @@ class ChoiceWithOtherType extends AbstractType
|
|||||||
{
|
{
|
||||||
$resolver
|
$resolver
|
||||||
->setRequired(array('choices'))
|
->setRequired(array('choices'))
|
||||||
->setAllowedTypes(array('choices' => array('array')))
|
->setAllowedTypes('choices', array('array'))
|
||||||
->setDefaults(array(
|
->setDefaults(array(
|
||||||
'multiple' => false,
|
'multiple' => false,
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user