Skip to content

Commit

Permalink
chore: Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieread committed Nov 7, 2024
1 parent bf0b18a commit bad8b1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Listeners/SetCurrentTenantContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

use Illuminate\Support\Facades\Context;
use Sprout\Events\CurrentTenantChanged;
use Sprout\Sprout;

/**
* Set Current Tenant Context
Expand All @@ -28,7 +27,7 @@ final class SetCurrentTenantContext
public function handle(CurrentTenantChanged $event): void
{
$contextKey = 'sprout.tenants';
$context = [];
$context = [];

if (Context::has($contextKey)) {
/** @var array<string, int|string> $context */
Expand Down

0 comments on commit bad8b1f

Please sign in to comment.