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

Add conditional @implements tag to Doctrine repository template #1332

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Add conditional @implements tag to Doctrine repository template #1332

merged 1 commit into from
Jul 10, 2023

Conversation

gremo
Copy link
Contributor

@gremo gremo commented Jul 6, 2023

Adding the @implements phpdoc tag on generated Doctrine repository classes will help IDE and prevent tools like phpstan from generating errors.

@implements is only added if $with_password_upgrade is set to true, avoiding useless phpdocs.

Immagine 2023-07-06 120413

Similar to #1088

@weaverryan
Copy link
Member

Thanks @gremo!

@weaverryan weaverryan merged commit 9907779 into symfony:main Jul 10, 2023
8 of 10 checks passed
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.

None yet

2 participants