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
This code pattern unexpectedly outputs a MixedAssignment error. If the elseif is replaced with if (which doesn't change the logic), the MixedAssignment error goes away.
The text was updated successfully, but these errors were encountered:
Psalm output (using commit a75d26a):
INFO: MixedAssignment - 7:36 - Unable to determine the type that $value is being assigned to
INFO: Trace - 16:5 - $value: int
https://psalm.dev/r/64f44812c4
This code pattern unexpectedly outputs a MixedAssignment error. If the
elseif
is replaced withif
(which doesn't change the logic), the MixedAssignment error goes away.The text was updated successfully, but these errors were encountered: