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