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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-15 14:50:24 +00:00 committed by StyleCI Bot
parent b4dc02772f
commit 01102f481e

View file

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