From 725ab196fc8842fcf9c869e66a43509c22077a00 Mon Sep 17 00:00:00 2001 From: Shashwat Mishra <11258035+secrethash@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:39:41 +0530 Subject: [PATCH] fix: update tenancy namespace --- src/Jobs/CreateTenantBucket.php | 4 ++-- src/Jobs/DeleteTenantBucket.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Jobs/CreateTenantBucket.php b/src/Jobs/CreateTenantBucket.php index 7017ab5..f6c68e1 100644 --- a/src/Jobs/CreateTenantBucket.php +++ b/src/Jobs/CreateTenantBucket.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; -use Stancl\Tenancy\Contracts\TenantWithDatabase; +use Stancl\Tenancy\Contracts\Tenant; use Vidwan\TenantBuckets\Bucket; class CreateTenantBucket implements ShouldQueue @@ -42,7 +42,7 @@ class CreateTenantBucket implements ShouldQueue * * @return void */ - public function __construct(TenantWithDatabase $tenant) + public function __construct(Tenant $tenant) { // $this->tenant = $tenant; diff --git a/src/Jobs/DeleteTenantBucket.php b/src/Jobs/DeleteTenantBucket.php index 11b9961..7b3a039 100644 --- a/src/Jobs/DeleteTenantBucket.php +++ b/src/Jobs/DeleteTenantBucket.php @@ -7,7 +7,7 @@ use Illuminate\Foundation\Bus\Dispatchable; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Queue\SerializesModels; -use Stancl\Tenancy\Contracts\TenantWithDatabase; +use Stancl\Tenancy\Contracts\Tenant; use Vidwan\TenantBuckets\Bucket; class DeleteTenantBucket implements ShouldQueue @@ -42,7 +42,7 @@ class DeleteTenantBucket implements ShouldQueue * * @return void */ - public function __construct(TenantWithDatabase $tenant) + public function __construct(Tenant $tenant) { // $this->tenant = $tenant;