Closed tdtm closed 6 years ago
fine by me - PR would be nice
Hi there, I ran across the same issue when using byValue(). It seems like it doesn't work at all.
In Enum.php line 368: Warning: assert(): assert(self::noAmbiguousValues($publicConstants)) failed
Assert has no description at
vendor/marc-mabe/php-enum/src/Enum.php:368
onassert(self::noAmbiguousValues($publicConstants));
Should it fail, adding a description would clearly tell what's the issue without having to dig in the source.
I can look at doing a PR for it.