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 5bc9b09):
ERROR: RedundantCondition - 8:33 - Found a redundant condition when evaluating $x[$i] and trying to reconcile type 'array<array-key, mixed>' to array
After update from 3.10.1 to 3.11.0 one false positive started to being reported, For a code;
The function
get
returns array that has mixed elements - string or an array, sois_array
is needed.https://psalm.dev/r/48ff1bea43
The text was updated successfully, but these errors were encountered: