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;