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
Disabling checkAlwaysTrueCheckTypeFunctionCall option, actually removes the error message, but that doesn't seem correct to me.
If I configured PHPStan so that PHPDoc types are not certain, then by all reasoning, the code in question should be fine without disabling checkAlwaysTrueCheckTypeFunctionCall.
The text was updated successfully, but these errors were encountered:
Hi,
I have
Treat PHPDoc types as certain
option turned off, and the following piece of code fails:https://phpstan.org/r/5dd76406-fbfc-4134-8158-c859505a05fc
Disabling
checkAlwaysTrueCheckTypeFunctionCall
option, actually removes the error message, but that doesn't seem correct to me.If I configured PHPStan so that PHPDoc types are not certain, then by all reasoning, the code in question should be fine without disabling
checkAlwaysTrueCheckTypeFunctionCall
.The text was updated successfully, but these errors were encountered: