mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:54:03 +00:00
Fix $bootstrapFeatures property
This commit is contained in:
parent
6873c544ac
commit
bcf777da6b
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ use Stancl\Tenancy\Resolvers\DomainTenantResolver;
|
||||||
|
|
||||||
class TenancyServiceProvider extends ServiceProvider
|
class TenancyServiceProvider extends ServiceProvider
|
||||||
{
|
{
|
||||||
public static $bootstrapFeatures = true;
|
public static bool $bootstrapFeatures = true;
|
||||||
|
|
||||||
/* Register services. */
|
/* Register services. */
|
||||||
public function register(): void
|
public function register(): void
|
||||||
|
|
@ -27,7 +27,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
$this->app->singleton(Tenancy::class);
|
$this->app->singleton(Tenancy::class);
|
||||||
|
|
||||||
if (static::bootstrapFeatures()) {
|
if (static::bootstrapFeatures()) {
|
||||||
$this->bootstrapFeatures();
|
$this->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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue