mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:34:03 +00:00
Fix some tests
This commit is contained in:
parent
1f88a1ff94
commit
12c05c0af6
6 changed files with 53 additions and 95 deletions
|
|
@ -85,7 +85,7 @@ class Tenant implements ArrayAccess
|
|||
|
||||
protected function persisted($persisted = null)
|
||||
{
|
||||
if (gettype($persisted) === 'bool') {
|
||||
if (gettype($persisted) === 'boolean') {
|
||||
$this->persisted = $persisted;
|
||||
|
||||
return $this;
|
||||
|
|
@ -94,6 +94,11 @@ class Tenant implements ArrayAccess
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function isPersisted(): bool
|
||||
{
|
||||
return $this->persisted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Assign domains to the tenant.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue