Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk authored and StyleCIBot committed Feb 1, 2019
1 parent ce9a732 commit ba5d865
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/Console/Commands/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
use Dotenv\Dotenv;
use Dotenv\Exception\InvalidPathException;
use Illuminate\Console\Command;
use Illuminate\Contracts\Events\Dispatcher;
use Illuminate\Contracts\Console\Kernel;
use Illuminate\Contracts\Events\Dispatcher;

/**
* This is the install command class.
Expand Down Expand Up @@ -315,7 +315,7 @@ protected function configureMail(array $config = [])

/**
* Configure Cachet.
*
*
* @param array $config
*
* @return void
Expand Down Expand Up @@ -350,17 +350,17 @@ protected function configureUser()

// We need to refresh the config to get access to the newly connected database.
$this->getFreshConfiguration();

// Now we need to install the application.
// $this->call('cachet:install');

$user = [
'username' => $this->ask('Please enter your username'),
'email' => $this->ask('Please enter your email'),
'password' => $this->secret('Please enter your password'),
'level' => User::LEVEL_ADMIN,
];

User::create($user);
}

Expand Down Expand Up @@ -412,7 +412,7 @@ protected function formatConfigsTable(array $config)
protected function getFreshConfiguration()
{
$app = require $this->laravel->bootstrapPath().'/app.php';
$app->make(Kernel::class)->bootstrap();
$app->make(Kernel::class)->bootstrap();
}

/**
Expand Down

0 comments on commit ba5d865

Please sign in to comment.