Pop\Code\Generator\DocblockGenerator::getParamLength PHP Method

getParamLength() protected method

Get the longest param type length
protected getParamLength ( ) : integer
return integer
    protected function getParamLength()
    {
        $length = 0;
        foreach ($this->tags['param'] as $param) {
            if (strlen($param['type']) > $length) {
                $length = strlen($param['type']);
            }
        }
        return $length;
    }