We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a99cb1d commit 3bfb7d8Copy full SHA for 3bfb7d8
src/EnumStatic.php
@@ -65,7 +65,7 @@ private static function getEnumsCached(): array
65
{
66
if (!isset(self::$lists[static::class])) {
67
foreach (static::getEnums() as $value) {
68
- self::$lists[static::class][$value] = true;
+ self::$lists[static::class][strtolower($value)] = true;
69
}
70
71
0 commit comments