Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Feb 21, 2018
1 parent 3682881 commit 09e66c5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/Http/Controllers/Install/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Database extends Controller
*/
public function create()
{
return view( 'install.database.create' );
return view('install.database.create');
}

/**
Expand All @@ -29,7 +29,7 @@ public function create()
public function store(Request $request)
{
$host = $request['hostname'];
$port = env( 'DB_PORT', '3306' );
$port = env('DB_PORT', '3306');
$database = $request['database'];
$username = $request['username'];
$password = $request['password'];
Expand All @@ -38,11 +38,11 @@ public function store(Request $request)
if (!Installer::createDbTables($host, $port, $database, $username, $password)) {
$message = trans('install.error.connection');

flash( $message )->error()->important();
flash($message)->error()->important();

return redirect( 'install/database' )->withInput();
return redirect('install/database')->withInput();
}

return redirect('install/settings' );
return redirect('install/settings');
}
}

0 comments on commit 09e66c5

Please sign in to comment.