mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-15 17:37:39 +00:00
This commit is contained in:
@ -9,11 +9,11 @@ class Team extends RatingContainer
|
||||
public function __construct(Player $player = NULL, Rating $rating = NULL)
|
||||
{
|
||||
parent::__construct();
|
||||
if (!$player instanceof layer) {
|
||||
if (! $player instanceof Player) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$rating instanceof Rating) {
|
||||
if (! $rating instanceof Rating) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user