Closed marcortola closed 6 years ago
https://github.com/commerceguys/intl/blob/a5d5cfbc1fe5ad7c7b3d8b870315987527629404/src/NumberFormat/NumberFormatRepository.php#L43
processDefinition method from NumberFormatRepository was throwing "Undefined index: en" when using other parameter different than "en".
I have added some test for validating this too.
Thanks!
Tweaked a bit by removing the isset() for $definition['en'], that's always there.
https://github.com/commerceguys/intl/blob/a5d5cfbc1fe5ad7c7b3d8b870315987527629404/src/NumberFormat/NumberFormatRepository.php#L43
processDefinition method from NumberFormatRepository was throwing "Undefined index: en" when using other parameter different than "en".
I have added some test for validating this too.