mirror of
https://github.com/furyfire/trueskill.git
synced 2026-03-12 17:49:10 +01:00
Upgrade to PHP8.4
This commit is contained in:
@@ -6,7 +6,7 @@ namespace DNW\Skills;
|
||||
|
||||
class Team extends RatingContainer
|
||||
{
|
||||
public function __construct(Player $player = NULL, Rating $rating = NULL)
|
||||
public function __construct(?Player $player = NULL, ?Rating $rating = NULL)
|
||||
{
|
||||
parent::__construct();
|
||||
if (! $player instanceof Player) {
|
||||
|
||||
Reference in New Issue
Block a user