phpDocumentor/TypeResolver

Cannot combine Types\Intersection and Types\Compound

zobo opened this issue · 0 comments

zobo commented

When building DNF types function foo ((A&B)|C $x): (A&B)|C|(D&E) {} it's not possible to build it with Intersection and Compound.

if ($type instanceof static) {