Skip to content

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

Merged
taylorotwell merged 23 commits intolaravel:9.xfrom
timacdonald:status-methods
Jan 25, 2023
Merged

[9.x] Extract status methods to traits#45789
taylorotwell merged 23 commits intolaravel:9.xfrom
timacdonald:status-methods

Conversation

@timacdonald
Copy link
Copy Markdown
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