diff --git a/src/Commands/Install.php b/src/Commands/Install.php index 2210eff4..af5fe736 100644 --- a/src/Commands/Install.php +++ b/src/Commands/Install.php @@ -78,8 +78,8 @@ class Install extends Command return str_replace( 'protected $middlewarePriority = [', "protected \$middlewarePriority = [ - \Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class, - \Stancl\Tenancy\Middleware\InitializeTenancy::class,", + \Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class, + \Stancl\Tenancy\Middleware\InitializeTenancy::class,", file_get_contents(app_path('Http/Kernel.php')) ); } else {