lib/Cvss/Cvss3.php
static function buildVector($inputs)
    {
        $inputs = array_merge(array('CVSS' => self::VERSION), $inputs);
        return implode(self::$metricSeparator, array_map(function ($k, $v) {
            return sprintf('%1$s%3$s%2$s', strtoupper($k), strtoupper($v), self::$valueSeparator);
        }, array_keys($inputs), $inputs));
    }
static function buildVector($inputs)
    {
        $inputs = array_merge(array('CVSS' => self::VERSION), $inputs);
        return implode(self::$metricSeparator, array_map(function ($k, $v) {
            return sprintf('%1$s%3$s%2$s', strtoupper($k), strtoupper($v), self::$valueSeparator);
        }, array_keys($inputs), $inputs));
    }
static function buildVector ( $ inputs ) { $ inputs = array_merge ( array ( 'CVSS' => self :: VERSION ) , $ inputs ) ; return implode ( self :: $ metricSeparator , array_map ( function ( $ k , $ v ) { return sprintf ( '%1$s%3$s%2$s' , strtoupper ( $ k ) , strtoupper ( $ v ) , self :: $ valueSeparator ) ; } , array_keys ( $ inputs ) , $ inputs ) ) ; }
Build CVSS vector for the given inputs

@param array $inputs

@return string
Build CVSS vector for the given inputs