Skip to content

Do not consider mixed explicitness for parameter contravariance #1648

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

Conversation

herndlm
Copy link
Contributor

@herndlm herndlm commented Aug 24, 2022

Follow-up as mentioned in #1491 (comment)

That's the simplest I could come up with. Not sure if we should maybe refactor more here. Some names are a bit weird. But I'm also not very experienced with contravariance and covariance tbh.

@herndlm herndlm marked this pull request as ready for review August 24, 2022 13:25
@ondrejmirtes ondrejmirtes merged commit 06f3610 into phpstan:1.8.x Aug 24, 2022
@ondrejmirtes
Copy link
Member

Thank you!

@herndlm herndlm deleted the do-not-consider-mixed-expliciness-for-parameter-contravariance branch August 24, 2022 14:30
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