Open fluffycondor opened 2 years ago
I found these snippets:
Actually union types work fine, it's only intersections that cause problems.
I found these snippets:
Unrelated note: Traversable<int, stdClass>&Iterator
can be simplified to Iterator<int, stdClass>
https://psalm.dev/r/3faa0adee6
Enclosing union types in parenthesis solves the problem, but is this the way it should work? https://psalm.dev/r/9c49548588