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

added missing "whereMorphedTo" on Eloquent relationship page #9931

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

mstephen77
Copy link
Contributor

From laravel/framework #53041, it turns out there's Polymorphic equivalent to whereBelongsTo() that is not mentioned anywhere in the docs.

This PR adds a mention of said method on Eloquent relationships page. I'm open to suggestions on what and where to put it.

Thank you.

from [\#53041](laravel/framework#53041), it turns out there's Polymorphic equivalent to `whereBelongsTo()` that is not mentioned anywhere in the docs.
Changed the wording to follow general Laravel documentation wording and updated the example to match.
@mstephen77 mstephen77 marked this pull request as ready for review October 7, 2024 08:25
@taylorotwell taylorotwell merged commit 5f7df11 into laravel:11.x Oct 7, 2024
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