Skip to content

Do not consider mixed explicitness for parameter contravariance#1648

Merged
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
herndlm:do-not-consider-mixed-expliciness-for-parameter-contravariance
Aug 24, 2022
Merged

Do not consider mixed explicitness for parameter contravariance#1648
ondrejmirtes merged 1 commit intophpstan:1.8.xfrom
herndlm:do-not-consider-mixed-expliciness-for-parameter-contravariance

Conversation

@herndlm
Copy link
Copy Markdown
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
Copy Markdown
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