Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Part of phpstan/phpstan#6560
but not all, (I leave phpstan/phpstan#6560 (comment))

#4152 was wrong, since we can cast a resource to float the same way we can cast it to int.

@ondrejmirtes ondrejmirtes merged commit b9f5f12 into phpstan:2.1.x Sep 12, 2025
449 of 456 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.

2 participants