rector: instanceOf, earlyReturn, strictBooleans

This commit is contained in:
2024-02-21 14:02:35 +00:00
parent 0184d0432b
commit c781540aa6
4 changed files with 10 additions and 8 deletions

View File

@ -13,7 +13,7 @@ class PartialPlay
// HACK to get around bug near 0
$smallestPercentage = 0.0001;
if ($partialPlayPercentage < $smallestPercentage) {
$partialPlayPercentage = $smallestPercentage;
return $smallestPercentage;
}
return $partialPlayPercentage;