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