Skip to content

Commit

Permalink
Use class notation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jan 5, 2017
1 parent 9dfe548 commit 1a687e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Console/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit 1a687e6

Please sign in to comment.