fix deprecations: options array -> no array for options resolver

This commit is contained in:
nobohan 2018-04-04 10:16:26 +02:00
parent e5324c816e
commit c4f7256236

View File

@ -48,7 +48,7 @@ class UserType extends AbstractType
$resolver $resolver
->setDefaults(array('is_creation' => false)) ->setDefaults(array('is_creation' => false))
->addAllowedValues(array('is_creation' => array(true, false))) ->addAllowedValues('is_creation', array(true, false))
; ;
} }