php-enum
php-enum copied to clipboard
Fixed bug with constant inheritance
trafficstars
If a constant already exists in the inherited class, then it cannot be redefined. Which leads to the error.
I think this is the intended behavior. You should not be able to redefine a what the enum is, you're only allow to add to it.
Please first describe what your actual error or problem is and then create an actual test case for it.
closed due to inactivity