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

Fix $bootstrapFeatures property

This commit is contained in:
lukinovec 2023-02-23 15:32:24 +01:00
parent 6873c544ac
commit bcf777da6b

View file

@ -14,7 +14,7 @@ use Stancl\Tenancy\Resolvers\DomainTenantResolver;
class TenancyServiceProvider extends ServiceProvider
{
public static $bootstrapFeatures = true;
public static bool $bootstrapFeatures = true;
/* Register services. */
public function register(): void
@ -27,7 +27,7 @@ class TenancyServiceProvider extends ServiceProvider
$this->app->singleton(Tenancy::class);
if (static::bootstrapFeatures()) {
$this->bootstrapFeatures();
$this->bootstrapFeatures;
}
// Make it possible to inject the current tenant by typehinting the Tenant contract.