@@ -75,7 +75,7 @@ |
||
| 75 | 75 | Connection $connection, |
| 76 | 76 | $tables, |
| 77 | 77 | QueryStatement $queryStatement = null |
| 78 | - ){ |
|
| 78 | + ) { |
|
| 79 | 79 | parent::__construct($queryStatement); |
| 80 | 80 | |
| 81 | 81 | $this->connection = $connection; |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | $attr['port'] = $port; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | - if ($driverName === 'mysql'){ |
|
| 196 | + if ($driverName === 'mysql') { |
|
| 197 | 197 | //Make MySQL using standard quoted identifier |
| 198 | 198 | $commands[] = 'SET SQL_MODE=ANSI_QUOTES'; |
| 199 | 199 | |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | $this->commands = $commands; |
| 314 | 314 | $this->options = $options; |
| 315 | 315 | |
| 316 | - if($dbConfig['auto_connect'] === true){ |
|
| 316 | + if ($dbConfig['auto_connect'] === true) { |
|
| 317 | 317 | $this->connect(); |
| 318 | 318 | } |
| 319 | 319 | |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | */ |
| 490 | 490 | public function getPDO(): PDO |
| 491 | 491 | { |
| 492 | - if($this->pdo === null){ |
|
| 492 | + if ($this->pdo === null) { |
|
| 493 | 493 | $this->connect(); |
| 494 | 494 | } |
| 495 | 495 | return $this->pdo; |
@@ -615,7 +615,7 @@ discard block |
||
| 615 | 615 | |
| 616 | 616 | return preg_replace_callback( |
| 617 | 617 | '/\?/', |
| 618 | - function () use ($driver, &$params) { |
|
| 618 | + function() use ($driver, &$params) { |
|
| 619 | 619 | $param = array_shift($params); |
| 620 | 620 | $param = is_object($param) ? get_class($param) : $param; |
| 621 | 621 | if (is_int($param) || is_float($param)) { |