1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 14:54:03 +00:00

Fix method/property

This commit is contained in:
lukinovec 2023-02-23 15:36:30 +01:00
parent bcf777da6b
commit e75aefb65e

View file

@ -26,8 +26,8 @@ class TenancyServiceProvider extends ServiceProvider
// Make sure Tenancy is stateful. // Make sure Tenancy is stateful.
$this->app->singleton(Tenancy::class); $this->app->singleton(Tenancy::class);
if (static::bootstrapFeatures()) { if ($this->bootstrapFeatures) {
$this->bootstrapFeatures; static::bootstrapFeatures();
} }
// Make it possible to inject the current tenant by typehinting the Tenant contract. // Make it possible to inject the current tenant by typehinting the Tenant contract.