General cleanup and removal of all unnecessary references

This commit is contained in:
Alexander Liljengård
2016-05-24 16:31:21 +02:00
parent 519ad85fad
commit a65f2aa9f3
43 changed files with 366 additions and 386 deletions

View File

@@ -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;