From dbdbf5a17840184bdd805eecffd420f0ba22ee05 Mon Sep 17 00:00:00 2001 From: stancl Date: Fri, 23 Aug 2019 10:58:39 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Commands/Install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Install.php b/src/Commands/Install.php index 261b95a7..37f961d6 100644 --- a/src/Commands/Install.php +++ b/src/Commands/Install.php @@ -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);