-
-
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 unsetMethod in ModelsCommand #1453
Conversation
04032ba
to
22fddc9
Compare
@barryvdh any chance to check this PR? thanks. |
Maybe we should lowercase the check instead also? |
@barryvdh You're right since methods are case-insensitive in PHP. Please check the updated code. |
@barryvdh Please check when you have time, thanks. |
@barryvdh bump |
@barryvdh Sorry to bother you again, but I'm really hope this PR can be merged, please let me know what your concern, thanks! |
Hmm not really sure why this is failing |
ah probably unrelated, let me try again. |
All good! Thanks for your patience |
Thanks! it would be nice if you could release a new version. |
* Fix unsetMethod in ModelsCommand * composer fix-style --------- Co-authored-by: Barry vd. Heuvel <[email protected]> Co-authored-by: laravel-ide-helper <[email protected]>
Summary
The key of
ModelsCommand::$methods
is case sensitive, so we should not convert the$name
to lowercase when unset.Type of change
Checklist
composer fix-style