Symfony\Component\Form\Extension\Core\ChoiceList\ChoiceList::fixIndex
Fixes the data type of the given choice index to avoid comparison problems.
Signature
protected function fixIndex(mixed
$index )
Parameters
$index
— mixed- The choice index.
Returns
- integer|string
- The index as PHP array key.