From e75aefb65e5ce9960d9fcd564f054556b7fb0c01 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Thu, 23 Feb 2023 15:36:30 +0100 Subject: [PATCH] Fix method/property --- src/TenancyServiceProvider.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TenancyServiceProvider.php b/src/TenancyServiceProvider.php index f50d2002..2f7df3a4 100644 --- a/src/TenancyServiceProvider.php +++ b/src/TenancyServiceProvider.php @@ -26,8 +26,8 @@ class TenancyServiceProvider extends ServiceProvider // Make sure Tenancy is stateful. $this->app->singleton(Tenancy::class); - if (static::bootstrapFeatures()) { - $this->bootstrapFeatures; + if ($this->bootstrapFeatures) { + static::bootstrapFeatures(); } // Make it possible to inject the current tenant by typehinting the Tenant contract.