mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 18:04:03 +00:00
get down to 21 phpstan errors
This commit is contained in:
parent
a94227a19c
commit
f98a901aeb
16 changed files with 85 additions and 26 deletions
|
|
@ -120,7 +120,7 @@ class QueueTenancyBootstrapper implements TenancyBootstrapper
|
|||
tenancy()->initialize($tenant);
|
||||
}
|
||||
|
||||
protected static function revertToPreviousState($event, ?Tenant &$previousTenant): void
|
||||
protected static function revertToPreviousState(JobProcessed|JobFailed $event, ?Tenant &$previousTenant): void
|
||||
{
|
||||
$tenantId = $event->job->payload()['tenant_id'] ?? null;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue