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
Conditions that ensure nullable int is not nullable anymore are not respected by phpstan.
The two conditions cancel out the possibility that the nullable int parameter is null.
Bug report
Conditions that ensure nullable int is not nullable anymore are not respected by phpstan.
The two conditions cancel out the possibility that the nullable int parameter is null.
Code snippet that reproduces the problem
https://phpstan.org/r/b4d84b76-413d-4cab-961a-ba20da3497fd
Expected output
There should be no error detected in the code
The text was updated successfully, but these errors were encountered: