From 1a687e625ee396dfb9d3a137febc06072d21ebf4 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Thu, 5 Jan 2017 19:25:51 +0000 Subject: [PATCH] Use class notation --- app/Console/Commands/InstallCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Console/Commands/InstallCommand.php b/app/Console/Commands/InstallCommand.php index a43d28cc9383..c184bb3eacda 100644 --- a/app/Console/Commands/InstallCommand.php +++ b/app/Console/Commands/InstallCommand.php @@ -15,6 +15,7 @@ use Dotenv\Dotenv; use Dotenv\Exception\InvalidPathException; use Illuminate\Console\Command; +use Illuminate\Contracts\Console\Kernel; /** * This is the install command class. @@ -377,7 +378,7 @@ protected function getFreshConfiguration() { $app = require $this->laravel->bootstrapPath().'/app.php'; - $app->make('Illuminate\Contracts\Console\Kernel')->bootstrap(); + $app->make(Kernel::class)->bootstrap(); } /**