From 3e337e1ae0fbf6e4f8141336937ff149f67c99b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Sun, 17 May 2020 18:09:56 +0200 Subject: [PATCH] Fire event after setting tenant propery --- src/Tenancy.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tenancy.php b/src/Tenancy.php index cfef699b..ca79b51d 100644 --- a/src/Tenancy.php +++ b/src/Tenancy.php @@ -27,9 +27,9 @@ class Tenancy return; } - event(new Events\InitializingTenancy($this)); - $this->tenant = $tenant; + + event(new Events\InitializingTenancy($this)); $this->initialized = true;