BetterReflection\Reflection\ReflectionParameter::getDocBlockTypes PHP Метод

getDocBlockTypes() публичный Метод

Get the types defined in the DocBlocks. This returns an array because the parameter may have multiple (compound) types specified (for example when you type hint pipe-separated "string|null", in which case this would return an array of Type objects, one for string, one for null.
См. также: getTypeHint()
public getDocBlockTypes ( ) : phpDocumentor\Reflection\Type[]
Результат phpDocumentor\Reflection\Type[]
    public function getDocBlockTypes()
    {
        return (new FindParameterType())->__invoke($this->function, $this->node);
    }