mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-15 07:50:58 +02:00
More PHP types for static analysis
This commit is contained in:
@@ -13,7 +13,7 @@ class Team extends RatingContainer
|
||||
}
|
||||
}
|
||||
|
||||
public function addPlayer(Player $player, Rating $rating)
|
||||
public function addPlayer(Player $player, Rating $rating): self
|
||||
{
|
||||
$this->setRating($player, $rating);
|
||||
|
||||
|
Reference in New Issue
Block a user