Skip to content

Conversation

VincentLanglet
Copy link
Contributor

Closes #1005
Closes phpstan/phpstan#6560

This will give the same behavior for cast vs intval/floatval functions in
https://phpstan.org/r/850196c1-5f6c-479d-a25a-dd303e9cd047

Not sure if it's worth a non-regression test... should I write a test to expect all the [argument.type](https://phpstan.org/error-identifiers/argument.type) errors ?

@VincentLanglet VincentLanglet requested a review from staabm July 24, 2025 15:31
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.

Handle different ways to cast the same
2 participants