Service/Calc/Bonus/Infinity/Calc.php
private function getMaxPercentForInfinityBonus($cfgParams, $scheme)
    {
        $result = 0;
        $params = $cfgParams[$scheme];
        /** @var ECfgParam $item */
        foreach ($params as $item) {
            $percent = $item->getInfinity();
            if ($percent > $result) {
                $result = $percent;
            }
        }
        return $result;
    }
private function getMaxPercentForInfinityBonus($cfgParams, $scheme)
    {
        $result = 0;
        $params = $cfgParams[$scheme];
        /** @var ECfgParam $item */
        foreach ($params as $item) {
            $percent = $item->getInfinity();
            if ($percent > $result) {
                $result = $percent;
            }
        }
        return $result;
    }
Walk through the all configuration parameters & get MAX percent for Infinity bonus

@param array $cfgParams see \Praxigento\BonusHybrid\Service\Calc\Bonus\Infinity\Calc::getCfgParams
@return int