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

fix: ensure UserData::getProperties() always return an array #32

Merged
merged 2 commits into from
Nov 22, 2022

Conversation

nesl247
Copy link
Contributor

@nesl247 nesl247 commented Nov 17, 2022

If there are no matching classes in the registry compared to the instance, it was returning null, which was incorrect according to the method signature.

This is related to #31. This solves the error that occurred because of the different in return value, but it does not solve the underlying issue which is the class comparison when using a doctrine proxy.

If there are no matching classes in the registry compared to the instance, it was returning null, which was incorrect according to the method signature.
Copy link
Contributor Author

@nesl247 nesl247 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style is fixed now.

@gordalina
Copy link
Owner

Thank you!

@gordalina
Copy link
Owner

Released in 5.0.1

@nesl247 nesl247 deleted the patch-1 branch November 22, 2022 19:42
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.

None yet

2 participants