src/Preference/Builder/MimePreferenceBuilder.php
private function getQualityFactor()
    {
        $qFactor = 0.0;

        if (2 === count(explode('/', $this->variant))) {
            $qFactor = $this->qFactor;
        }

        return $qFactor;
    }
private function getQualityFactor()
    {
        $qFactor = 0.0;

        if (2 === count(explode('/', $this->variant))) {
            $qFactor = $this->qFactor;
        }

        return $qFactor;
    }
private function getQualityFactor ( ) { $ qFactor = 0.0 ; if ( 2 === count ( explode ( '/' , $ this -> variant ) ) ) { $ qFactor = $ this -> qFactor ; } return $ qFactor ; }
Get the variants's quality factor, defaulting to 0 on absent variant.

@return float
Get the variants s quality factor defaulting to 0 on absent variant .