lib/Cvss/Cvss3.php
protected function getSeverity($score)
    {
        foreach ($this->severityRatingScale as $level => $options) {
            if ($score >= $options['min_range'] && $score <= $options['max_range']) {
                return $level;
            }
        }
        return null;
    }
protected function getSeverity($score)
    {
        foreach ($this->severityRatingScale as $level => $options) {
            if ($score >= $options['min_range'] && $score <= $options['max_range']) {
                return $level;
            }
        }
        return null;
    }
protected function getSeverity ( $ score ) { foreach ( $ this -> severityRatingScale as $ level => $ options ) { if ( $ score >= $ options [ 'min_range' ] && $ score <= $ options [ 'max_range' ] ) { return $ level ; } } return null ; }
Get severity for the given score

@param float $score

@return int|null|string
Get severity for the given score