1
0
Fork 0
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:
lukinovec 2022-10-11 07:57:48 +02:00
parent 2201545c51
commit 4b92eac6cd

View file

@ -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();
} }