diff --git a/CHANGELOG.md b/CHANGELOG.md index 3996f20..2b66335 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # CHANGELOG ## vx.y.z (Release: aa-bbb-cccc) +* BUGFIX: `Player:GetId` returns elo instead of id ## v1.1.2 (Release: 21-jun-2019) * ENHANCEMENT: Added update section to dist/readme.md @@ -36,4 +37,4 @@ * BUGFIX: `Round::getBye()` did not return bye players ## v1.0 (Released: 03-jun-2019) -* Initial release \ No newline at end of file +* Initial release diff --git a/src/Player.php b/src/Player.php index 3b9ab1d..c5a42d8 100644 --- a/src/Player.php +++ b/src/Player.php @@ -135,7 +135,7 @@ class Player */ public function getId(string $type): string { - return $this->getElos()[$type]; + return $this->getIds()[$type]; } /**