Upgrade to PHP8.4

This commit is contained in:
2025-01-28 09:18:50 +00:00
parent 2212d45f61
commit 22002891c5
10 changed files with 56 additions and 56 deletions

View File

@@ -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) {