diff --git a/src/Commands/Install.php b/src/Commands/Install.php index 189ec98d..d097584c 100644 --- a/src/Commands/Install.php +++ b/src/Commands/Install.php @@ -35,7 +35,7 @@ class Install extends Command $this->info('✔️ Created config/tenancy.php'); file_put_contents(app_path('Http/Kernel.php'), str_replace( - "protected \$middlewarePriority = [", + 'protected $middlewarePriority = [', "protected \$middlewarePriority = [\n \Stancl\Tenancy\Middleware\InitializeTenancy::class", file_get_contents(app_path('Http/Kernel.php')) ));