-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 Castables issue #1312 #1388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please don't ignore the PR template and add a changelog entry 🙏🏼
# Conflicts: # CHANGELOG.md
Thanks and sorry, that's my first ever PR to an Open Source repo so I'm not always sure about the protocol. I added the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect 👌🏼
Thanks! |
* Return Castable class if failed to detect it from return types * fix-style * Add CHANGELOG.md entry
Summary
Fix for issue with Castables described in #1312
If type of a
Castable
can not be determined from return type of get method fromcastUsing()
->CastsAttributes
then the originalCastable
class should be used.Type of change
Checklist
composer fix-style