php-enum icon indicating copy to clipboard operation
php-enum copied to clipboard

Fixed bug with constant inheritance

Open greal opened this issue 2 years ago • 2 comments
trafficstars

If a constant already exists in the inherited class, then it cannot be redefined. Which leads to the error.

greal avatar Oct 13 '23 14:10 greal

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.

prolic avatar Oct 13 '23 17:10 prolic

Please first describe what your actual error or problem is and then create an actual test case for it.

marc-mabe avatar Oct 14 '23 03:10 marc-mabe

closed due to inactivity

marc-mabe avatar Apr 03 '24 07:04 marc-mabe