mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-03-31 20:42:39 +02:00
With the upcoming addition of intersection types, a type can be Identifier|Name|NullableType|UnionType|IntersectionType, which is quite the mouthful. Give NullableType and UnionType a common base class ComplexType, which does not have any behavior, but allows to write these types (and check them in instanceof) more easily.