Eris\Listener\MinimumEvaluations::endPropertyVerification PHP Method

endPropertyVerification() public method

public endPropertyVerification ( $ordinaryEvaluations, $iterations, Exception $exception = null )
$exception Exception
    public function endPropertyVerification($ordinaryEvaluations, $iterations, Exception $exception = null)
    {
        if ($exception) {
            return;
        }
        $evaluationRatio = $ordinaryEvaluations / $iterations;
        if ($evaluationRatio < $this->threshold) {
            throw new OutOfBoundsException("Evaluation ratio {$evaluationRatio} is under the threshold {$this->threshold}");
        }
    }