We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sprintf() should work with stringable objects as well.
sprintf()
https://phpstan.org/r/e1e38e6623cdcea50b0882ec7cebafd9
no error, object is casted to string using __toString() https://3v4l.org/m1cHp
__toString()
The text was updated successfully, but these errors were encountered:
This is similar/related to #323, see #323 (comment)
Sorry, something went wrong.
Fixed: 5297029
No branches or pull requests
Summary of a problem or a feature request
sprintf()
should work with stringable objects as well.Code snippet that reproduces the problem
https://phpstan.org/r/e1e38e6623cdcea50b0882ec7cebafd9
Expected output
no error, object is casted to string using
__toString()
https://3v4l.org/m1cHp
The text was updated successfully, but these errors were encountered: