Commit 2cfe83e6 authored by Julien Minet's avatar Julien Minet

fix deprecations: remove array in setAllowedTypes

parent a35fd760
Pipeline #46064 failed with stages
in 1 minute and 12 seconds
......@@ -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,
))
......
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