mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:14:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
696cc8ba9a
commit
e2b6e6d73c
2 changed files with 5 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ final class Tenant // todo implement an interface to allow for current tenant de
|
||||||
/**
|
/**
|
||||||
* Does this tenant exist in the storage.
|
* Does this tenant exist in the storage.
|
||||||
*
|
*
|
||||||
* @var boolean
|
* @var bool
|
||||||
*/
|
*/
|
||||||
private $persisted = false;
|
private $persisted = false;
|
||||||
|
|
||||||
|
|
@ -57,7 +57,7 @@ final class Tenant // todo implement an interface to allow for current tenant de
|
||||||
public function persisted()
|
public function persisted()
|
||||||
{
|
{
|
||||||
$this->persisted = true;
|
$this->persisted = true;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -90,4 +90,4 @@ final class Tenant // todo implement an interface to allow for current tenant de
|
||||||
{
|
{
|
||||||
return $this->data[$name];
|
return $this->data[$name];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy;
|
namespace Stancl\Tenancy;
|
||||||
|
|
||||||
final class TenantManager
|
final class TenantManagerv2
|
||||||
{
|
{
|
||||||
public function addTenant(Tenant $tenant): self
|
public function addTenant(Tenant $tenant): self
|
||||||
{
|
{
|
||||||
|
|
@ -19,4 +19,4 @@ final class TenantManager
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue