@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | $timer = microtime(true); |
| 50 | 50 | $response = $this->statement->execute($params); |
| 51 | 51 | $this->queryLoggers->log($this->query, microtime(true)-$timer); |
| 52 | - if(!$response) { |
|
| 52 | + if (!$response) { |
|
| 53 | 53 | throw new SqlException('Execution returned with "false".'); |
| 54 | 54 | } |
| 55 | 55 | }); |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | public function fetchAll($fetchStyle = PDO::FETCH_ASSOC, $fetchArgument = null, array $ctorArgs = []) { |
| 66 | 66 | return $this->exceptionHandler(function() use ($fetchStyle, $fetchArgument, $ctorArgs) { |
| 67 | - if($fetchArgument !== null) { |
|
| 67 | + if ($fetchArgument !== null) { |
|
| 68 | 68 | return $this->statement->fetchAll($fetchStyle, $fetchArgument, $ctorArgs); |
| 69 | 69 | } |
| 70 | 70 | return $this->statement->fetchAll($fetchStyle); |