Skip to content

Fix argument types for Illuminate/Database/Query/Builder::upsert() #55849

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

Merged
merged 2 commits into from
May 26, 2025

Conversation

jellisii
Copy link
Contributor

Ensures IDE hinting isn't out of order.

ide-hinting-order-issue

@taylorotwell taylorotwell merged commit 6cde2ab into laravel:12.x May 26, 2025
58 of 59 checks passed
@coclav
Copy link

coclav commented Jun 3, 2025

that's quite the breaking change @taylorotwell ?

The documentation states the second argument can be ignored (set to null) this change makes it mandatory

https://laravel.com/docs/11.x/queries#upserts

@AndrewMast
Copy link
Contributor

@coclav Maybe I'm missing it, but I don't see where the documentation says the second argument can be null?

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.

4 participants