We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d0b38e commit 067f53eCopy full SHA for 067f53e
src/MyCLabs/Enum/Enum.php
@@ -65,7 +65,7 @@ public static function toArray()
65
{
66
$calledClass = get_called_class();
67
if(!array_key_exists($calledClass, self::$constantsCache)) {
68
- $reflectin = new \ReflectionClass($calledClass);
+ $reflection = new \ReflectionClass($calledClass);
69
self::$constantsCache[$calledClass] = $reflection->getConstants();
70
}
71
return self::$constantsCache[$calledClass];
0 commit comments