mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:14:04 +00:00
StlyeCi Fix - removed PHP 8 nullsafe operator for compatibility with older PHP versions, replaced with inline if
This commit is contained in:
parent
9c9b2da618
commit
3145d8330d
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class DomainTenantResolver extends Contracts\CachedTenantResolver
|
||||||
->first();
|
->first();
|
||||||
|
|
||||||
/** @var Domain|null $domain */
|
/** @var Domain|null $domain */
|
||||||
$domain = $tenant?->domains->first();
|
$domain = $tenant ? $tenant->domains->first() : null;
|
||||||
|
|
||||||
if ($domain) {
|
if ($domain) {
|
||||||
static::$currentDomain = $domain;
|
static::$currentDomain = $domain;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue