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 really surprised me, because it looks like Psalm is automatically creating some mistaken assertion on the property assigned in the updateErrors method, because if the assignment is removed from updateErrors the error is fixed: https://psalm.dev/r/4e00eed4c5
The text was updated successfully, but these errors were encountered:
Psalm output (using commit 8f39de9):
INFO: Trace - 26:30 - $errors: array<string, string>
INFO: MixedAssignment - 28:3 - Unable to determine the type that $errors is being assigned to
INFO: Trace - 29:30 - $errors: mixed
INFO: UnusedVariable - 25:3 - $errors is never referenced or the value is not used
INFO: UnusedVariable - 28:3 - $errors is never referenced or the value is not used
Psalm output (using commit 8f39de9):
INFO: UnusedVariable - 21:3 - $errors is never referenced or the value is not used
INFO: Trace - 26:30 - $errors: array<string, string>
INFO: Trace - 29:30 - $errors: array<string, string>
INFO: UnusedVariable - 25:3 - $errors is never referenced or the value is not used
INFO: UnusedVariable - 28:3 - $errors is never referenced or the value is not used
https://psalm.dev/r/10eec1df24
This really surprised me, because it looks like Psalm is automatically creating some mistaken assertion on the property assigned in the
updateErrors
method, because if the assignment is removed fromupdateErrors
the error is fixed: https://psalm.dev/r/4e00eed4c5The text was updated successfully, but these errors were encountered: