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
If I have a nullable backed enum, and I try to concatenate it with a null coalesce, I get two errors, but those are false positives.
It works if I suppress it with a nullsafe accessor, but that's redundant (see https://3v4l.org/ZZpui)
Psalm output (using commit 986ef8d):
ERROR: RedundantCondition - 10:10 - Type 'A'|'B' for $foo->value is always isset
ERROR: TypeDoesNotContainType - 10:25 - Cannot resolve types for $foo->value with type string and !isset assertion
If I have a nullable backed enum, and I try to concatenate it with a null coalesce, I get two errors, but those are false positives.
It works if I suppress it with a nullsafe accessor, but that's redundant (see https://3v4l.org/ZZpui)
https://psalm.dev/r/6304b00b6f
The text was updated successfully, but these errors were encountered: