mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 14:36:13 +00:00
fix deprecations: options array -> no array for options resolver
This commit is contained in:
parent
e5324c816e
commit
c4f7256236
@ -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))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user