Skip to content

Improve NAN inferences #4040

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

Merged
merged 1 commit into from
Jul 17, 2025
Merged

Improve NAN inferences #4040

merged 1 commit into from
Jul 17, 2025

Conversation

VincentLanglet
Copy link
Contributor

Closes phpstan/phpstan#13097

This was introduced in 29fcf80 but seems like the return NAN doesn't exists anymore so we can improve NAN inferences without regression.

@ondrejmirtes ondrejmirtes merged commit 7e732bf into phpstan:2.1.x Jul 17, 2025
419 of 420 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zero times INF should be narrower than mixed
2 participants