mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Merge branch '3.x' of github.com:stancl/tenancy into 3.x
This commit is contained in:
commit
1e18dc3a74
1 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ class QueueTenancyBootstrapper implements TenancyBootstrapper
|
|||
$tenantId = $event->job->payload()['tenant_id'] ?? null;
|
||||
|
||||
// The job is not tenant-aware
|
||||
if (!$tenantId) {
|
||||
if (! $tenantId) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -64,7 +64,7 @@ class QueueTenancyBootstrapper implements TenancyBootstrapper
|
|||
{
|
||||
$bootstrapper = &$this;
|
||||
|
||||
if (!$this->queue instanceof QueueFake) {
|
||||
if (! $this->queue instanceof QueueFake) {
|
||||
$this->queue->createPayloadUsing(function ($connection) use (&$bootstrapper) {
|
||||
return $bootstrapper->getPayload($connection);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue