1
0
Fork 0
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:
stancl 2019-09-04 18:25:52 +00:00 committed by StyleCI Bot
parent 696cc8ba9a
commit e2b6e6d73c
2 changed files with 5 additions and 5 deletions

View file

@ -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];
} }
} }

View file

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