Skip to content

Conversation

rvanvelzen
Copy link
Contributor

Unresolvable conditional types should not be forcibly resolved in callable param/return types because they generally depend on calling that callable.

Fix phpstan/phpstan#11472.

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry about the Composer build failures here. I need to look into them. Probably has something to do with publishing the 2.0.x branch.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just do @var int here :)

@ondrejmirtes ondrejmirtes merged commit c26886d into phpstan:1.12.x Sep 5, 2024
133 of 134 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants