mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-18 20:04:28 +00:00
rector: instanceOf, earlyReturn, strictBooleans
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user