mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 16:14:02 +00:00
Remove unnecessary typehints
This commit is contained in:
parent
6735d0a589
commit
e93e766f92
5 changed files with 6 additions and 6 deletions
|
|
@ -8,7 +8,7 @@ interface Syncable
|
|||
{
|
||||
public function getGlobalIdentifierKeyName(): string;
|
||||
|
||||
public function getGlobalIdentifierKey(): string;
|
||||
public function getGlobalIdentifierKey();
|
||||
|
||||
public function getCentralModelName(): string;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ interface Tenant
|
|||
public function getTenantKeyName(): string;
|
||||
|
||||
/** Get the value of the key used for identifying the tenant. */
|
||||
public function getTenantKey(): ?string;
|
||||
public function getTenantKey();
|
||||
|
||||
/** Get the value of an internal key. */
|
||||
public function getInternal(string $key);
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class Tenant extends Model implements Contracts\Tenant
|
|||
return 'id';
|
||||
}
|
||||
|
||||
public function getTenantKey(): ?string
|
||||
public function getTenantKey()
|
||||
{
|
||||
return $this->getAttribute($this->getTenantKeyName());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue