mirror of
https://github.com/furyfire/trueskill.git
synced 2025-10-28 15:02:29 +01:00
More return types. Basic example
This commit is contained in:
@@ -11,7 +11,7 @@ class RatingContainer
|
||||
$this->playerToRating = new HashMap();
|
||||
}
|
||||
|
||||
public function getRating(Player $player): mixed
|
||||
public function getRating(Player $player): Rating
|
||||
{
|
||||
return $this->playerToRating->getValue($player);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user