Phan\Language\Element\Parameter::getVariadicElementUnionType PHP Method

getVariadicElementUnionType() public method

If this Parameter is variadic, calling getUnionType will return an array type such as DateTime[]. This method will return the element type (such as DateTime) for variadic parameters.
public getVariadicElementUnionType ( ) : UnionType
return Phan\Language\UnionType
    public function getVariadicElementUnionType() : UnionType
    {
        return parent::getUnionType();
    }