[Form] Minor: Fix comment in ChoiceType

This commit is contained in:
Issei.M 2017-05-09 13:05:50 +09:00
parent 62cb443770
commit a49d79c856
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class ChoiceType extends AbstractType
}
// To avoid issues when the submitted choices are arrays (i.e. array to string conversions),
// we have to ensure that all elements of the submitted choice data are strings or null.
// we have to ensure that all elements of the submitted choice data are NULL, strings or ints.
$builder->addEventListener(FormEvents::PRE_SUBMIT, function (FormEvent $event) {
$data = $event->getData();