private function getMethodStatement(\ReflectionParameter $param, Method $methodStmt) : Method
    {
        /* @var $paramStmt Param */
        $paramStmt = $this->factory->param($param->name);
        /* @var $param \ReflectionParameter */
        $this->setParameterType($param, $paramStmt);
        $this->setDefault($param, $paramStmt);
        $methodStmt->addParam($paramStmt);

        return $methodStmt;
    }
private function getMethodStatement(\ReflectionParameter $param, Method $methodStmt) : Method
    {
        /* @var $paramStmt Param */
        $paramStmt = $this->factory->param($param->name);
        /* @var $param \ReflectionParameter */
        $this->setParameterType($param, $paramStmt);
        $this->setDefault($param, $paramStmt);
        $methodStmt->addParam($paramStmt);

        return $methodStmt;
    }
private function getMethodStatement ( \ ReflectionParameter $ param , Method $ methodStmt ) : Method { /* @var $paramStmt Param */ $ paramStmt = $ this -> factory -> param ( $ param -> name ) ; /* @var $param \ReflectionParameter */ $ this -> setParameterType ( $ param , $ paramStmt ) ; $ this -> setDefault ( $ param , $ paramStmt ) ; $ methodStmt -> addParam ( $ paramStmt ) ; return $ methodStmt ; }
Return parameter reflection
Return parameter reflection