Skip to content

Commit

Permalink
fix: update tenancy namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
secrethash committed Dec 10, 2024
1 parent 461f35f commit 725ab19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Jobs/CreateTenantBucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,7 +42,7 @@ class CreateTenantBucket implements ShouldQueue
*
* @return void
*/
public function __construct(TenantWithDatabase $tenant)
public function __construct(Tenant $tenant)
{
//
$this->tenant = $tenant;
Expand Down
4 changes: 2 additions & 2 deletions src/Jobs/DeleteTenantBucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,7 +42,7 @@ class DeleteTenantBucket implements ShouldQueue
*
* @return void
*/
public function __construct(TenantWithDatabase $tenant)
public function __construct(Tenant $tenant)
{
//
$this->tenant = $tenant;
Expand Down

0 comments on commit 725ab19

Please sign in to comment.