mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 21:54:03 +00:00
Tenant|Model typehint
This commit is contained in:
parent
3547b8ce4c
commit
4d6003eec0
2 changed files with 2 additions and 2 deletions
|
|
@ -13,4 +13,4 @@ trait HasDomains
|
|||
{
|
||||
return $this->hasMany(config('tenancy.domain_model'), 'tenant_id');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue