1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 19:04:03 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-05 17:27:32 +00:00 committed by StyleCI Bot
parent 98cb49b1c0
commit 362aaf4764
5 changed files with 16 additions and 7 deletions

View file

@ -48,13 +48,13 @@ class TenantManagerv2
{
$this->bootstrapTenancy($tenant);
$this->setTenant($tenant);
return $this;
}
public function bootstrapTenancy(Tenant $tenant): self
{
foreach($this->tenancyBootstrappers() as $bootstrapper) {
foreach ($this->tenancyBootstrappers() as $bootstrapper) {
$bootstrapper::start($tenant);
}