diff --git a/src/Contracts/TenancyBootstrapper.php b/src/Contracts/TenancyBootstrapper.php index 7fbb22a6..2ec6aaa8 100644 --- a/src/Contracts/TenancyBootstrapper.php +++ b/src/Contracts/TenancyBootstrapper.php @@ -1,5 +1,7 @@ database->reconnect($connection); $this->database->setDefaultConnection($connection); } -} \ No newline at end of file +} diff --git a/src/TenancyBootstrappers/DatabaseTenancyBootstrapper.php b/src/TenancyBootstrappers/DatabaseTenancyBootstrapper.php index 86ad0f77..bbd51907 100644 --- a/src/TenancyBootstrappers/DatabaseTenancyBootstrapper.php +++ b/src/TenancyBootstrappers/DatabaseTenancyBootstrapper.php @@ -1,10 +1,12 @@ database->reconnect(); } -} \ No newline at end of file +} diff --git a/src/TenantManagerv2.php b/src/TenantManagerv2.php index 47e75896..5e106e9e 100644 --- a/src/TenantManagerv2.php +++ b/src/TenantManagerv2.php @@ -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); } diff --git a/src/Traits/HasArrayAccess.php b/src/Traits/HasArrayAccess.php index 1105ca55..58d46f26 100644 --- a/src/Traits/HasArrayAccess.php +++ b/src/Traits/HasArrayAccess.php @@ -1,5 +1,7 @@ $offset); } -} \ No newline at end of file +}