Service/Calc/Bonus/Infinity/Calc.php
private function shouldInterruptInfinityBonus($percent, $percentParent)
    {
        $result = false;
        if (
            ($percentParent > 0) &&
            ($percentParent <= $percent)
        ) {
            $result = true;
        }
        return $result;
    }
private function shouldInterruptInfinityBonus($percent, $percentParent)
    {
        $result = false;
        if (
            ($percentParent > 0) &&
            ($percentParent <= $percent)
        ) {
            $result = true;
        }
        return $result;
    }
private function shouldInterruptInfinityBonus ( $ percent , $ percentParent ) { $ result = false ; if ( ( $ percentParent > 0 ) && ( $ percentParent <= $ percent ) ) { $ result = true ; } return $ result ; }
Interrupt infinity bonus if parent's percent exists and is greater or equal to current infinity percent.

@param $percent
@param $percentParent

@return bool
Interrupt infinity bonus if parent s percent exists and is greater or equal to current infinity percent .