From bad8b1fc675c283dcb01e2daeeb26433a445017d Mon Sep 17 00:00:00 2001 From: Ollie Read Date: Thu, 7 Nov 2024 09:38:29 +0000 Subject: [PATCH] chore: Tidy up --- src/Listeners/SetCurrentTenantContext.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Listeners/SetCurrentTenantContext.php b/src/Listeners/SetCurrentTenantContext.php index 7ac412c..06d9074 100644 --- a/src/Listeners/SetCurrentTenantContext.php +++ b/src/Listeners/SetCurrentTenantContext.php @@ -5,7 +5,6 @@ use Illuminate\Support\Facades\Context; use Sprout\Events\CurrentTenantChanged; -use Sprout\Sprout; /** * Set Current Tenant Context @@ -28,7 +27,7 @@ final class SetCurrentTenantContext public function handle(CurrentTenantChanged $event): void { $contextKey = 'sprout.tenants'; - $context = []; + $context = []; if (Context::has($contextKey)) { /** @var array $context */