mirror of
https://github.com/furyfire/trueskill.git
synced 2026-03-12 17:49:10 +01: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