mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 08:14:02 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
b734a25fec
commit
71d2ea1b62
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ class DomainRepository extends Repository
|
||||||
public function getTenantDomains($tenant)
|
public function getTenantDomains($tenant)
|
||||||
{
|
{
|
||||||
$id = $tenant instanceof Tenant ? $tenant->id : $tenant;
|
$id = $tenant instanceof Tenant ? $tenant->id : $tenant;
|
||||||
|
|
||||||
return $this->where('tenant_id', $id)->get('domain')->pluck('domain')->all();
|
return $this->where('tenant_id', $id)->get('domain')->pluck('domain')->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue