From dd952c727ffb11a85cc8256abdf01eaa94d78e19 Mon Sep 17 00:00:00 2001 From: PHP CS Fixer Date: Thu, 29 Sep 2022 08:04:15 +0000 Subject: [PATCH] Fix code style (php-cs-fixer) --- src/Commands/Run.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/Run.php b/src/Commands/Run.php index 94dc461c..b6251282 100644 --- a/src/Commands/Run.php +++ b/src/Commands/Run.php @@ -6,8 +6,8 @@ namespace Stancl\Tenancy\Commands; use Illuminate\Console\Command; use Illuminate\Contracts\Console\Kernel; -use Stancl\Tenancy\Database\Models\Tenant; use Stancl\Tenancy\Concerns\HasTenantOptions; +use Stancl\Tenancy\Database\Models\Tenant; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Output\ConsoleOutput; @@ -41,7 +41,7 @@ class Run extends Command // $this->getTenants() doesn't return tenants in the same order as the tenants passed in the tenants option // Map the passed tenant keys to the fetched tenant models to correct the order $tenants = array_map(function (string $tenantKey) use ($tenants) { - return $tenants->filter(fn(Tenant $tenant) => $tenant->getTenantKey() === $tenantKey)->first(); + return $tenants->filter(fn (Tenant $tenant) => $tenant->getTenantKey() === $tenantKey)->first(); }, $this->option('tenants')); }