mirror of
https://github.com/furyfire/trueskill.git
synced 2024-09-19 23:22:13 +00:00
This commit is contained in:
parent
61af342cfa
commit
edc80f9a43
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user