1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:14:05 +00:00

Fix arguments being initialized twice for tenants:seed command

This commit is contained in:
Michael Lundbøl 2021-03-10 00:11:30 +01:00
parent 192594ca28
commit c50dcbc1df
No known key found for this signature in database
GPG key ID: 4D120605BDD8EA83

View file

@ -21,6 +21,8 @@ class Seed extends SeedCommand
*/ */
protected $description = 'Seed tenant database(s).'; protected $description = 'Seed tenant database(s).';
protected $name = 'tenants:seed';
/** /**
* Create a new command instance. * Create a new command instance.
* *
@ -29,9 +31,6 @@ class Seed extends SeedCommand
public function __construct(ConnectionResolverInterface $resolver) public function __construct(ConnectionResolverInterface $resolver)
{ {
parent::__construct($resolver); parent::__construct($resolver);
$this->setName('tenants:seed');
$this->specifyParameters();
} }
/** /**