1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 11:44:04 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-18 20:45:08 +00:00 committed by StyleCI Bot
parent cba67352b3
commit 7fe81f37cd

View file

@ -71,11 +71,12 @@ class TenancyServiceProvider extends ServiceProvider
$this->app['queue']->createPayloadUsing(function () { $this->app['queue']->createPayloadUsing(function () {
if (tenancy()->initialized) { if (tenancy()->initialized) {
[$uuid, $domain] = tenant()->get('uuid', 'domain'); [$uuid, $domain] = tenant()->get('uuid', 'domain');
return [ return [
'tenant_uuid' => $uuid, 'tenant_uuid' => $uuid,
'tags' => [ 'tags' => [
"tenant:$uuid", "tenant:$uuid",
"domain:$domain" "domain:$domain",
], ],
]; ];
} }