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

Describe better types in phpdoc for Iterators #2377

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

franmomu
Copy link
Contributor

Q A
Type improvement
BC Break no
Fixed issues

Summary

In this case I went through Iterator directory fixing issues with phpstan level 6, I'll try to keep small PR to be easier to review.

I've been using T as generic template name, but I think it's better if we give it a more meaningful name, so in this case I've started using TDocument when it is supposed to be a document.

@franmomu franmomu added the Task label Oct 10, 2021
@franmomu franmomu added this to the 2.3.0 milestone Oct 13, 2021
@franmomu franmomu merged commit e62b760 into doctrine:2.3.x Oct 13, 2021
@franmomu franmomu deleted the phpstan6_2 branch October 13, 2021 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants