Crash when $choices' values are arrays
Daisuke-sama opened this issue · 1 comments
Daisuke-sama commented
Hi! I have one of my ENUM implemented like this
class VehicleColorType extends AbstractEnumType
{
public const OTHER = 0;
public const WHITE = 1;
protected static $choices = [
self::OTHER => [
'name' => 'Other',
'code' => '',
],
self::WHITE => [
'name' => 'White',
'code' => '#FFFFFF',
],
];
}
And when I do, for example, findOneBy() request, I get an error like on the picture
What do you think?
xabbuh commented
I am sorry, but I have to close your issue as we use GitHub issues only to discuss new features and for bug reports. For support, please refer to one of the support channels. Thank you for understanding.