Skip to content

Commit

Permalink
remove unnecessary ()
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl authored Jan 8, 2025
1 parent b999688 commit 1edf9c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/Run.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()}");
Expand Down

0 comments on commit 1edf9c5

Please sign in to comment.