private static function normalizeName($name): string
    {
        $dashedName = \str_replace('_', '-', $name);

        if (\stripos($dashedName, 'HTTP-') === 0) {
            $dashedName = \substr($dashedName, 5);
        }

        return $dashedName;
    }
private static function normalizeName($name): string
    {
        $dashedName = \str_replace('_', '-', $name);

        if (\stripos($dashedName, 'HTTP-') === 0) {
            $dashedName = \substr($dashedName, 5);
        }

        return $dashedName;
    }
private static function normalizeName ( $ name ) : string { $ dashedName = \ str_replace ( '_' , '-' , $ name ) ; if ( \ stripos ( $ dashedName , 'HTTP-' ) === 0 ) { $ dashedName = \ substr ( $ dashedName , 5 ) ; } return $ dashedName ; }
Normalizes a name

@param string $name The name to normalize
@return string The normalized name
Normalizes a name