src/Reflection/ReflectionParameter.php
public function setType(string $newParameterType) : void
    {
        $this->node->type = new Node\Name($newParameterType);
    }
public function setType(string $newParameterType) : void
    {
        $this->node->type = new Node\Name($newParameterType);
    }
Set the parameter type declaration.