@@ -84,7 +84,7 @@ |
||
| 84 | 84 | |
| 85 | 85 | $this->classpathMap[$container->filepath] = $dsnHash; |
| 86 | 86 | |
| 87 | - $this->connectionContainer->{$dsnHash} = function () use ($driverClassPath, $databaseConfigContainer, $logger) { |
|
| 87 | + $this->connectionContainer->{$dsnHash} = function() use ($driverClassPath, $databaseConfigContainer, $logger) { |
|
| 88 | 88 | $driver = new $driverClassPath($databaseConfigContainer); |
| 89 | 89 | $driver->inject('logger', $logger); |
| 90 | 90 | |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | try { |
| 121 | 121 | $stmt = $this->driver->getStatement($this->sql); |
| 122 | 122 | if ($stmt === false) { |
| 123 | - throw new DatabaseException("Can't create statement: ". $this->sql); |
|
| 123 | + throw new DatabaseException("Can't create statement: " . $this->sql); |
|
| 124 | 124 | } |
| 125 | 125 | $this->logger->info("Executed SQL: " . $this->sql); |
| 126 | 126 | foreach ($this->bind as $key => $value) { |