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 56047dd):
ERROR: NullableReturnStatement - 20:12 - The declared return type 'string' for removeNullable is not nullable, but the function returns 'null|string'
ERROR: InvalidNullableReturnType - 17:32 - The declared return type 'string' for removeNullable is not nullable, but 'null|string' contains null
https://psalm.dev/r/4de47158f1
Per https://github.com/facade/ignition/pull/292/files#r455046472, I believe psalm should be able to infer this.
The expected functionality seems to work for the inverse:
https://psalm.dev/r/afc769579e
The text was updated successfully, but these errors were encountered: