You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When called directly, a sprintf() with float modifier is correctly considerd as numeric-string.
However, when called indirectly (sorry I can't find the correct word to describe it), looks like infered type is lost and we get non-empty-string instead
Bug report
When called directly, a sprintf() with float modifier is correctly considerd as
numeric-string
.However, when called indirectly (sorry I can't find the correct word to describe it), looks like infered type is lost and we get
non-empty-string
insteadCode snippet that reproduces the problem
https://phpstan.org/r/546a013a-1028-41d6-9256-2528c6123498
Expected output
Both calls should yield the same result
Did PHPStan help you today? Did it make you happy in any way?
This tool saved me quite oa lot of problems :)
The text was updated successfully, but these errors were encountered: