Run Rector on your code to see what it can do for you:
} // The expression here is being replaced by the constant 500 - $stats->maxRange = (intval(($stats->maxRange + 1) / 500) + 1) * 500; + $stats->maxRange = 500; return $stats->maxRange; }
Applied Rules:
Not a change you expect?
rector.php