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 c50fa27):
INFO: UnusedParam - 11:25 - Param $array is never referenced in this method
INFO: UnusedParam - 11:40 - Param $message is never referenced in this method
ERROR: InvalidReturnStatement - 26:12 - The type 'list<mixed>' does not match the declared return type 'non-empty-list<mixed>' for consume
ERROR: InvalidReturnType - 21:18 - The declared return type 'non-empty-list<mixed>' for consume is incorrect, got 'list<mixed>'
The following code used to work and now errors incorrectly: https://psalm.dev/r/b3ecdd7b42
It seems that the
non-empty-list
assertion incorrectly inferslist<mixed>
instead ofnon-empty-list<mixed>
.The text was updated successfully, but these errors were encountered: