mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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
|
||||
->setRequired(array('choices'))
|
||||
->setAllowedTypes(array('choices' => array('array')))
|
||||
->setAllowedTypes('choices', array('array'))
|
||||
->setDefaults(array(
|
||||
'multiple' => false,
|
||||
))
|
||||
|
Loading…
x
Reference in New Issue
Block a user