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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-10-27 19:20:06 +00:00 committed by StyleCI Bot
parent b734a25fec
commit 71d2ea1b62

View file

@ -22,6 +22,7 @@ class DomainRepository extends Repository
public function getTenantDomains($tenant)
{
$id = $tenant instanceof Tenant ? $tenant->id : $tenant;
return $this->where('tenant_id', $id)->get('domain')->pluck('domain')->all();
}