mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 10:14:04 +00:00
remove unnecessary ()
This commit is contained in:
parent
b9996881a6
commit
1edf9c5b78
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ class Run extends Command
|
||||||
/** @var string $commandName */
|
/** @var string $commandName */
|
||||||
$commandName = $this->argument('commandname');
|
$commandName = $this->argument('commandname');
|
||||||
|
|
||||||
$stringInput = (new StringInput($commandName));
|
$stringInput = new StringInput($commandName);
|
||||||
|
|
||||||
tenancy()->runForMultiple($this->getTenants(), function ($tenant) use ($stringInput) {
|
tenancy()->runForMultiple($this->getTenants(), function ($tenant) use ($stringInput) {
|
||||||
$this->components->info("Tenant: {$tenant->getTenantKey()}");
|
$this->components->info("Tenant: {$tenant->getTenantKey()}");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue