public function getTypeSet() : Set { return $this->type_set; }
/** * Add the given types to this type * * @return null */ public function addUnionType(UnionType $union_type) { $this->type_set->addAll($union_type->getTypeSet()); }