Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AttributeEvents.php #12

Closed
wants to merge 2 commits into from

Conversation

jeffreyvanhees
Copy link

@jeffreyvanhees jeffreyvanhees commented Jun 13, 2022

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

Related: #11

Add support for PHP 8.1 Enums by converting the value to a string if the attribute is casted to an enum.
@jpkleemans
Copy link
Owner

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
Copy link
Owner

This is fixed in #13

@jpkleemans jpkleemans closed this Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants