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

Allow debuging components with union typed props #1745

Merged
merged 1 commit into from Apr 18, 2024

Conversation

adrienlucas
Copy link

Q A
Bug fix? yes
New feature? no
Issues N.A.
License MIT

When a component has a property with an union type, the debug command crash with Attempted to call an undefined method named "getName" of class "ReflectionUnionType". This fix the issue.

Copy link
Collaborator

@WebMamba WebMamba left a comment

Choose a reason for hiding this comment

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

Hey @adrienlucas it's good to see you here! Thanks for the fix! 😁

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Apr 17, 2024
Copy link
Collaborator

@smnandre smnandre left a comment

Choose a reason for hiding this comment

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

Thank you @adrienlucas :)

@kbond
Copy link
Member

kbond commented Apr 18, 2024

Thank you Adrien.

@kbond kbond merged commit 8af2726 into symfony:2.x Apr 18, 2024
34 of 35 checks passed
@adrienlucas
Copy link
Author

Thank you guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants