mirror of
https://github.com/furyfire/trueskill.git
synced 2025-07-15 07:50:58 +02:00
General cleanup and removal of all unnecessary references
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
class Team extends RatingContainer
|
||||
{
|
||||
public function __construct(Player &$player = null, Rating $rating = null)
|
||||
public function __construct(Player $player = null, Rating $rating = null)
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
@@ -12,7 +12,7 @@ class Team extends RatingContainer
|
||||
}
|
||||
}
|
||||
|
||||
public function addPlayer(Player &$player, Rating $rating)
|
||||
public function addPlayer(Player $player, Rating $rating)
|
||||
{
|
||||
$this->setRating($player, $rating);
|
||||
return $this;
|
||||
|
Reference in New Issue
Block a user