@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | public function getConnect() |
| 39 | 39 | { |
| 40 | - if (! $this->isConnected()) { |
|
| 40 | + if (!$this->isConnected()) { |
|
| 41 | 41 | return $this->connect(); |
| 42 | 42 | } |
| 43 | 43 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | throw new Exceptions\ConnectException($this->conn->connect_error); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - if (! $this->isConnected()) { |
|
| 65 | + if (!$this->isConnected()) { |
|
| 66 | 66 | throw new Exceptions\ConnectException( |
| 67 | 67 | $this->getLastError() ?: 'Failed to create the database connection!' |
| 68 | 68 | ); |
@@ -334,7 +334,7 @@ discard block |
||
| 334 | 334 | */ |
| 335 | 335 | public function getLastErrorNo() |
| 336 | 336 | { |
| 337 | - return (string)$this->getConnect()->sqlstate; |
|
| 337 | + return (string) $this->getConnect()->sqlstate; |
|
| 338 | 338 | } |
| 339 | 339 | |
| 340 | 340 | /** |