1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 01:34:03 +00:00

remove unnecessary ()

This commit is contained in:
Samuel Štancl 2025-01-08 10:56:40 +01:00 committed by GitHub
parent b9996881a6
commit 1edf9c5b78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,7 +24,7 @@ class Run extends Command
/** @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()}");