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
Psalm output (using commit 9943efb):
ERROR: PossiblyFalseOperand - 11:2 - Left operand cannot be falsable, got false|int
INFO: UnusedVariable - 11:2 - $var is never referenced or the value is not used
https://psalm.dev/r/c831c824de
According to type juggling rules
false == 0
so the condition ensures that$var
is not false. Yet, Psalm complains that the variable might be false.The text was updated successfully, but these errors were encountered: