@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | */ |
81 | 81 | public function getConnect() : mysqli |
82 | 82 | { |
83 | - if (! $this->isConnected()) { |
|
83 | + if (!$this->isConnected()) { |
|
84 | 84 | return $this->connect(); |
85 | 85 | } |
86 | 86 | |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | throw new Exceptions\ConnectException($this->conn->connect_error); |
108 | 108 | } |
109 | 109 | |
110 | - if (! $this->isConnected()) { |
|
110 | + if (!$this->isConnected()) { |
|
111 | 111 | throw new Exceptions\ConnectException( |
112 | 112 | $this->getLastError() ?: 'Failed to create the database connection!' |
113 | 113 | ); |
@@ -382,7 +382,7 @@ discard block |
||
382 | 382 | * @param int $col |
383 | 383 | * @return string|null |
384 | 384 | */ |
385 | - public function fieldName(mysqli_result $result, $col = 0) :? string |
|
385 | + public function fieldName(mysqli_result $result, $col = 0) : ? string |
|
386 | 386 | { |
387 | 387 | $field = $result->fetch_field_direct($col); |
388 | 388 | |
@@ -451,7 +451,7 @@ discard block |
||
451 | 451 | { |
452 | 452 | $col = []; |
453 | 453 | |
454 | - if (! ($result instanceof mysqli_result)) { |
|
454 | + if (!($result instanceof mysqli_result)) { |
|
455 | 455 | $result = $this->query($result); |
456 | 456 | } |
457 | 457 | |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | { |
476 | 476 | $names = []; |
477 | 477 | |
478 | - if (! ($result instanceof mysqli_result)) { |
|
478 | + if (!($result instanceof mysqli_result)) { |
|
479 | 479 | $result = $this->query($result); |
480 | 480 | } |
481 | 481 | |
@@ -500,7 +500,7 @@ discard block |
||
500 | 500 | { |
501 | 501 | $out = false; |
502 | 502 | |
503 | - if (! ($result instanceof mysqli_result)) { |
|
503 | + if (!($result instanceof mysqli_result)) { |
|
504 | 504 | $result = $this->query($result); |
505 | 505 | } |
506 | 506 | |
@@ -522,7 +522,7 @@ discard block |
||
522 | 522 | public function getTableMetaData(string $table) : array |
523 | 523 | { |
524 | 524 | $metadata = []; |
525 | - if (! empty($table)) { |
|
525 | + if (!empty($table)) { |
|
526 | 526 | $sql = 'SHOW FIELDS FROM ' . $table; |
527 | 527 | $result = $this->query($sql); |
528 | 528 | if ($result instanceof mysqli_result) { |