mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 02:24:04 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
417330decd
commit
84890cdd1e
20 changed files with 73 additions and 73 deletions
|
|
@ -34,14 +34,14 @@ class Install extends Command
|
|||
]);
|
||||
$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 = [\n \Stancl\Tenancy\Middleware\InitializeTenancy::class,",
|
||||
file_get_contents(app_path('Http/Kernel.php'))
|
||||
\file_get_contents(app_path('Http/Kernel.php'))
|
||||
));
|
||||
$this->info('✔️ Set middleware priority');
|
||||
|
||||
file_put_contents(base_path('routes/tenant.php'),
|
||||
\file_put_contents(base_path('routes/tenant.php'),
|
||||
"<?php
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue