From 1edf9c5b7812830f101fe98bffe24f6966fd9a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 8 Jan 2025 10:56:40 +0100 Subject: [PATCH] remove unnecessary () --- src/Commands/Run.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()}");