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

Fix method signatures in Element::setEagerLoadedElements() example #662

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomdavies
Copy link

Description

In the custom Element Types documentation for Craft 5, I noticed (ok, PHPStorm noticed for me) that the method signature for the setEagerLoadedElements() example is missing the third $plan param that Craft 5 requires.

This change adds that param to the example so that lazy developers like me can go back to copy+pasting code from the docs with wild abandon.

@tomdavies tomdavies requested a review from a team as a code owner September 26, 2024 13:02
Copy link

netlify bot commented Sep 26, 2024

👷 Deploy request for craft-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 44e775d

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.

1 participant