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

[9.x] Extract status methods to traits #45789

Merged
merged 23 commits into from
Jan 25, 2023

Conversation

timacdonald
Copy link
Member

@timacdonald timacdonald commented Jan 24, 2023

Another proposal for #45734 with concrete methods extracted to traits.

Only pure $status === {int} checks and assertions have been extracted to the traits.

I've added some additional status checks for those that the community have previously attempted and others I see as regularly used, to anticipate future PRs and give the "I wonder if this is just there" feel.

@timacdonald timacdonald marked this pull request as ready for review January 25, 2023 01:33
@taylorotwell taylorotwell merged commit 8262d6d into laravel:9.x Jan 25, 2023
@timacdonald timacdonald deleted the status-methods branch January 29, 2023 23:44
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.

3 participants