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 4eacb2f):
ERROR: InvalidReturnStatement - 23:16 - The inferred type '''' does not match the declared return type 'int' for B::process
ERROR: InvalidReturnType - 21:21 - The declared return type 'int' for B::process is incorrect, got ''''
This code has an error on line 23 (should return int, not string).
https://psalm.dev/r/aa26301af0
Removing the
mixed
return type fixes the issue: https://psalm.dev/r/6bf5cdea8a.Regression occurred in #8926.
Commit da001c4 is the last one, when Psalm reports the problem (correct behavior).
The text was updated successfully, but these errors were encountered: