Closed marc-mabe closed 5 years ago
Enum::__callStatic() should call static::byName() instead of self::byName(). Interestingly this never behaved wrongly but just because of a weird PHP behavior I have reported as a bug here https://bugs.php.net/bug.php?id=77985
Enum::__callStatic()
static::byName()
self::byName()
Enum::__callStatic()
should callstatic::byName()
instead ofself::byName()
. Interestingly this never behaved wrongly but just because of a weird PHP behavior I have reported as a bug here https://bugs.php.net/bug.php?id=77985