mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
Change self return type to static
This commit is contained in:
parent
2201545c51
commit
4b92eac6cd
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class Tenant extends Model implements Contracts\Tenant
|
||||||
return $this->getAttribute($this->getTenantKeyName());
|
return $this->getAttribute($this->getTenantKeyName());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function current(): self|null
|
public static function current(): static|null
|
||||||
{
|
{
|
||||||
return tenant();
|
return tenant();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue