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] Update firstOrFail logic #38470

Merged
merged 1 commit into from
Aug 20, 2021
Merged

Conversation

chu121su12
Copy link
Contributor

PR #38420 Introduces firstOrFail on collection classes, which on version 8.x uses when for filtering. The logic was adjusted to use unless in #37667 and this PR align the code to also use unless.

@driesvints driesvints merged commit f409e04 into laravel:master Aug 20, 2021
@driesvints
Copy link
Member

Thanks!

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

2 participants