Phan\Language\Element\TypedElementInterface::setUnionType PHP Method

setUnionType() public method

public setUnionType ( UnionType $type ) : void
$type Phan\Language\UnionType Set the type of this element
return void
    public function setUnionType(UnionType $type);