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 more specific phpdoc to DocumentRepository #2326

Merged
merged 2 commits into from Jun 21, 2021

Conversation

franmomu
Copy link
Contributor

Q A
Type improvement
BC Break no
Fixed issues

Summary

There have been releases of phpstan and psalm fixing the toPHP signature.

The phpdoc added to the DocumentRepository methods is because Psalm does not work well inheriting phpdoc templates in methods.

Psalm does not work well inheriting phpdoc templates in methods,
so duplicating them fixes the issue.
@alcaeus alcaeus self-assigned this Jun 21, 2021
@alcaeus alcaeus added this to the 2.3.0 milestone Jun 21, 2021
@alcaeus alcaeus merged commit 9676493 into doctrine:2.3.x Jun 21, 2021
@alcaeus
Copy link
Member

alcaeus commented Jun 21, 2021

As so many times in the past few weeks, thank you @franmomu! 🎉

@franmomu franmomu deleted the fix_phpstan branch June 21, 2021 14:39
@alcaeus alcaeus modified the milestones: 2.3.0-alpha1, 2.3.0 Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants