From c50dcbc1dff6770d4f7486df7cf6344fa592861d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Lundb=C3=B8l?= Date: Wed, 10 Mar 2021 00:11:30 +0100 Subject: [PATCH] Fix arguments being initialized twice for tenants:seed command --- src/Commands/Seed.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Commands/Seed.php b/src/Commands/Seed.php index 17ae774e1..43038107e 100644 --- a/src/Commands/Seed.php +++ b/src/Commands/Seed.php @@ -21,6 +21,8 @@ class Seed extends SeedCommand */ protected $description = 'Seed tenant database(s).'; + protected $name = 'tenants:seed'; + /** * Create a new command instance. * @@ -29,9 +31,6 @@ class Seed extends SeedCommand public function __construct(ConnectionResolverInterface $resolver) { parent::__construct($resolver); - - $this->setName('tenants:seed'); - $this->specifyParameters(); } /**