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(); } /**