Skip to content

Commit

Permalink
兼容PHP8.1 及以上
Browse files Browse the repository at this point in the history
  • Loading branch information
kanyxmo committed Jan 4, 2023
1 parent dc3e43c commit 5b2fc03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mine/Command/UpdateProjectCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ class UpdateProjectCommand extends MineCommand

/**
* UpdateProjectCommand constructor.
* @param string|null $name
* @param Migrator $migrator
* @param Seed $seed
*/
public function __construct(string $name = null, Migrator $migrator, Seed $seed)
public function __construct(Migrator $migrator, Seed $seed)
{
parent::__construct($name);
parent::__construct();
$this->migrator = $migrator;
$this->seed = $seed;
}
Expand Down

0 comments on commit 5b2fc03

Please sign in to comment.