setUnionType() public method

public setUnionType ( UnionType $type ) : void
$type Phan\Language\UnionType Set the type of this element
return void
Example #1
0
 public function setUnionType(UnionType $type)
 {
     $this->element->setUnionType($type);
 }