https://psalm.dev/r/3906d0c921 `Foo1` is `'one'`, `Foo2` is `'one'` or `'two'`, so `(Foo1|Foo2)->value` definitely can be `'one'` or `'two'`. Errors are difference when the argument is nullable.
https://psalm.dev/r/3906d0c921
Foo1is'one',Foo2is'one'or'two', so(Foo1|Foo2)->valuedefinitely can be'one'or'two'.Errors are difference when the argument is nullable.