Internally, ChoiceField expects both choices and preferred_choices to be a simple array, so I replaced incomplete bits of code that attempted to not modify a possible ArrayObject and instead added type checks in the configure() method (with unit tests for expected exceptions). |
||
---|---|---|
.. | ||
Symfony/Tests | ||
bootstrap.php |