From 48f8df62cb72b6b23d3187c4d861f32eb72c1cfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 15 Mar 2020 12:51:16 +0100 Subject: [PATCH] Left trim - from option names --- src/Commands/Seed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Seed.php b/src/Commands/Seed.php index fd59108e..b2b32adb 100644 --- a/src/Commands/Seed.php +++ b/src/Commands/Seed.php @@ -53,7 +53,7 @@ class Seed extends SeedCommand $this->input->setOption('database', $tenant->getConnectionName()); foreach (config('tenancy.seeder_parameters') as $parameter => $value) { - $this->input->setOption($parameter, $value); + $this->input->setOption(ltrim($parameter, '-'), $value); } $tenant->run(function () {