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
I'm fine with MixedAssignment here, but MixedArgument claims that the variable is mixed|string, but if json_decode throws an exception it can't be mixed, it can be only the string that passed to the parseResponse(string $response).
The text was updated successfully, but these errors were encountered:
Psalm output (using commit 3390097):
INFO: MixedAssignment - 6:9 - Unable to determine the type that $response is being assigned to
INFO: MixedArgument - 8:77 - Argument 2 of sprintf cannot be mixed|string, expecting float|int|string
This would require Psalm to know what operations can and can't throw, check that there was a single throw point and that the assignment happens after that point.
https://psalm.dev/r/6638c80c36
I'm fine with MixedAssignment here, but MixedArgument claims that the variable is mixed|string, but if json_decode throws an exception it can't be mixed, it can be only the string that passed to the parseResponse(string $response).
The text was updated successfully, but these errors were encountered: