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

Pass variable

This commit is contained in:
Samuel Štancl 2019-10-28 15:27:32 +01:00
parent 853fdb19fa
commit 09412cd7ad

View file

@ -306,7 +306,7 @@ class TenantManager
return $this; return $this;
} }
$prevented = $this->event('ending', $this->getTenant()); $prevented = $this->event('ending', $this->tenant);
foreach ($this->tenancyBootstrappers($prevented) as $bootstrapper) { foreach ($this->tenancyBootstrappers($prevented) as $bootstrapper) {
$this->app[$bootstrapper]->end(); $this->app[$bootstrapper]->end();