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

MNT Update @methods on class docblocks #1257

Merged

Conversation

emteknetnz
Copy link
Member

Comment on lines 12 to 13
* @method SilverStripe\ORM\HasManyList<EmailRecipient> EmailRecipients()
* @method SilverStripe\ORM\HasManyList<SubmittedForm> Submissions()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need use statements or FQCN for these models since the relations are added via a trait

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having updated the docblock writer, using the FCQN here

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GuySartorelli GuySartorelli merged commit 5e62815 into silverstripe:6.1 Dec 17, 2023
12 checks passed
@GuySartorelli GuySartorelli deleted the pulls/6.1/docblock branch December 17, 2023 20:05
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