1
0
Fork 0
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:
stancl 2020-06-28 12:31:26 +00:00 committed by StyleCI Bot
parent 34d3189d61
commit fcbfe8fb26

View file

@ -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);
}); });