Skip to content

Commit 067f53e

Browse files
committed
Typo
1 parent 5d0b38e commit 067f53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MyCLabs/Enum/Enum.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function toArray()
6565
{
6666
$calledClass = get_called_class();
6767
if(!array_key_exists($calledClass, self::$constantsCache)) {
68-
$reflectin = new \ReflectionClass($calledClass);
68+
$reflection = new \ReflectionClass($calledClass);
6969
self::$constantsCache[$calledClass] = $reflection->getConstants();
7070
}
7171
return self::$constantsCache[$calledClass];

0 commit comments

Comments
 (0)