1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:04:02 +00:00

Tenant|Model typehint

This commit is contained in:
Samuel Štancl 2020-05-16 12:01:58 +02:00
parent 3547b8ce4c
commit 4d6003eec0
2 changed files with 2 additions and 2 deletions

View file

@ -13,4 +13,4 @@ trait HasDomains
{
return $this->hasMany(config('tenancy.domain_model'), 'tenant_id');
}
}
}

View file

@ -16,7 +16,7 @@ use Stancl\Tenancy\Database\Concerns\CentralConnection;
* @property string $domain
* @property string $tenant_id
*
* @property-read Tenant $tenant
* @property-read Tenant|Model $tenant
*/
class Domain extends Model implements Contracts\Domain
{