mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 13:54:04 +00:00
Fix if statement
This commit is contained in:
parent
646034014b
commit
19b7672d2a
1 changed files with 3 additions and 1 deletions
|
|
@ -22,7 +22,9 @@ class QueueTenancyBootstrapper implements TenancyBootstrapper
|
||||||
$this->app = $app;
|
$this->app = $app;
|
||||||
|
|
||||||
$bootstrapper = &$this;
|
$bootstrapper = &$this;
|
||||||
if (! $queue = $this->app['queue'] instanceof QueueFake) {
|
|
||||||
|
$queue = $this->app['queue'];
|
||||||
|
if (! $queue instanceof QueueFake) {
|
||||||
$queue->createPayloadUsing(function () use (&$bootstrapper) {
|
$queue->createPayloadUsing(function () use (&$bootstrapper) {
|
||||||
return $bootstrapper->getPayload();
|
return $bootstrapper->getPayload();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue