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

[8.x] Swap multiple logical OR for in_array when checking date casting #38307

Merged
merged 1 commit into from
Aug 10, 2021
Merged

[8.x] Swap multiple logical OR for in_array when checking date casting #38307

merged 1 commit into from
Aug 10, 2021

Conversation

michaeldyrynda
Copy link
Contributor

Just a small cleanup that replaces the string of || checks for date casting to using an inline in_array.

@taylorotwell taylorotwell merged commit 54713b3 into laravel:8.x Aug 10, 2021
@michaeldyrynda michaeldyrynda deleted the chore/multiple-or-to-in_array branch August 11, 2021 05:22
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.

None yet

3 participants