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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-23 10:58:39 +00:00 committed by StyleCI Bot
parent 965f67c747
commit dbdbf5a178

View file

@ -42,7 +42,7 @@ class Install extends Command
\file_get_contents(app_path('Http/Kernel.php'))
);
$newKernel = \str_replace("protected \$middleware = [", "protected \$middleware = [
$newKernel = \str_replace('protected $middleware = [', "protected \$middleware = [
\Stancl\Tenancy\Middleware\PreventAccessFromTenantDomains::class,", $newKernel);
\file_put_contents(app_path('Http/Kernel.php'), $newKernel);