From 09412cd7ad788c153c33635c770e24f2365fe747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 28 Oct 2019 15:27:32 +0100 Subject: [PATCH] Pass variable --- src/TenantManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TenantManager.php b/src/TenantManager.php index 264f1f52..97226b62 100644 --- a/src/TenantManager.php +++ b/src/TenantManager.php @@ -306,7 +306,7 @@ class TenantManager return $this; } - $prevented = $this->event('ending', $this->getTenant()); + $prevented = $this->event('ending', $this->tenant); foreach ($this->tenancyBootstrappers($prevented) as $bootstrapper) { $this->app[$bootstrapper]->end();