diff --git a/src/Commands/Run.php b/src/Commands/Run.php index 247f9c2df..7dd69e0fd 100644 --- a/src/Commands/Run.php +++ b/src/Commands/Run.php @@ -24,7 +24,7 @@ public function handle(): int /** @var string $commandName */ $commandName = $this->argument('commandname'); - $stringInput = (new StringInput($commandName)); + $stringInput = new StringInput($commandName); tenancy()->runForMultiple($this->getTenants(), function ($tenant) use ($stringInput) { $this->components->info("Tenant: {$tenant->getTenantKey()}");