diff --git a/CHANGELOG.md b/CHANGELOG.md index cb86647..2ab729c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,9 @@ * NEW FEATURE: `Tournament::getArbiters` for multiple arbiters in 1 tournament * ENHANCEMENT: `Class::getBinaryData` methods return null if field is non-existent * CHANGE: `Tournament::getArbiter` accepts a `int` parameter representing the order of the arbiters -* BUGFIX: `Player:GetId` returns elo instead of id -* BUGFIX: `Tournament::CalculateBuchholz` did not return the correct score when player had unplayed rounds +* BUGFIX: `Player:getId` returns elo instead of id +* BUGFIX: `Tournament::calculateBuchholz` did not return the correct score when player had unplayed rounds +* BUGFIX: `Tournament::calculateMutualResult` Returned NULL if result was invalid ## v1.1.2 (Release: 21-jun-2019) * ENHANCEMENT: Added update section to dist/readme.md diff --git a/src/Tournament.php b/src/Tournament.php index c0a4670..d47793d 100644 --- a/src/Tournament.php +++ b/src/Tournament.php @@ -621,7 +621,7 @@ class Tournament } } if ($totalmatches != count($interestingplayers)) { - $points = null; + $points = 0; } return $points; }