Skip to content

Commit

Permalink
Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbyoung committed Dec 23, 2017
1 parent a625202 commit e5c2a25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Application/Bootstrappers/Databases/SqlBootstrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function registerBindings(IContainer $container)
{
try {
$driverClass = getenv('DB_DRIVER') ?: PostgreSqlDriver::class;

switch ($driverClass) {
case MySqlDriver::class:
$driver = new MySqlDriver();
Expand All @@ -56,7 +56,7 @@ public function registerBindings(IContainer $container)
"Invalid database driver type specified in environment var \"DB_DRIVER\": $driverClass"
);
}

$connectionPool = new SingleServerConnectionPool(
$driver,
new Server(
Expand Down

0 comments on commit e5c2a25

Please sign in to comment.