protected static function getBigger(array $values)
    {
        $bigger = null;

        foreach ($values as $value => $repeat) {
            if ($bigger === null || $repeat > $values[$bigger]) {
                $bigger = $value;
            }
        }

        return $bigger;
    }
protected static function getBigger(array $values)
    {
        $bigger = null;

        foreach ($values as $value => $repeat) {
            if ($bigger === null || $repeat > $values[$bigger]) {
                $bigger = $value;
            }
        }

        return $bigger;
    }
protected static function getBigger ( array $ values ) { $ bigger = null ; foreach ( $ values as $ value => $ repeat ) { if ( $ bigger === null || $ repeat > $ values [ $ bigger ] ) { $ bigger = $ value ; } } return $ bigger ; }
Returns the key of the bigger value in an array

@param array $values

@return string|null
Returns the key of the bigger value in an array