attribute-events icon indicating copy to clipboard operation
attribute-events copied to clipboard

Update AttributeEvents.php

Open jeffreyvanhees opened this issue 2 years ago • 1 comments

Add support for PHP 8.1 Enums by converting the value to a string if the attribute is casted to a backed enum.

Related: https://github.com/jpkleemans/attribute-events/issues/11

jeffreyvanhees avatar Jun 13 '22 22:06 jeffreyvanhees

Hi Jeffrey, thanks for your PR! 👍 Could you add a test case for this? (https://github.com/jpkleemans/attribute-events/blob/master/tests/AttributeEventsTest.php)

jpkleemans avatar Jun 15 '22 09:06 jpkleemans

This is fixed in #13

jpkleemans avatar Aug 31 '22 09:08 jpkleemans