mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-19 12:24:28 +00: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