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] BelongsToMany firstOrCreate and firstOrNew should merge attributes correctly #38367

Merged
merged 1 commit into from
Aug 13, 2021
Merged

[9.x] BelongsToMany firstOrCreate and firstOrNew should merge attributes correctly #38367

merged 1 commit into from
Aug 13, 2021

Conversation

JayBizzle
Copy link
Contributor

@JayBizzle JayBizzle commented Aug 12, 2021

This PR is related to #38346 but only targets the 9.0 branch as the firstOrNew() and firstOrCreate() methods on the BelongsToMany relationship were updated in 9.0 (#37337) to be functionally the same as the equivalent methods in Builder and HasOneOrMany classes.

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.

2 participants