@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | foreach ($this->relations as $localAlias => $remoteColumn) { |
| 196 | 196 | $this->readQueryBuilder->addColumn($this->getTable(), $remoteColumn, $localAlias); |
| 197 | 197 | } |
| 198 | - $this->readQueryBuilder->setLimits(0,1); |
|
| 198 | + $this->readQueryBuilder->setLimits(0, 1); |
|
| 199 | 199 | |
| 200 | 200 | // query itself |
| 201 | 201 | $lines = $this->readDatabase->query(strval($this->readDialect->select($this->readQueryBuilder)), $this->readQueryBuilder->getParams()); |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | } |
| 251 | 251 | |
| 252 | 252 | // query itself |
| 253 | - $this->readQueryBuilder->setLimits(0,1); |
|
| 253 | + $this->readQueryBuilder->setLimits(0, 1); |
|
| 254 | 254 | $lines = $this->readDatabase->query(strval($this->readDialect->select($this->readQueryBuilder)), $this->readQueryBuilder->getParams()); |
| 255 | 255 | if (empty($lines)) { |
| 256 | 256 | return false; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | $this->connect(); |
| 52 | 52 | |
| 53 | - list($updQuery, $binds, ) = $this->bindFromNamedToQuestions($query, $params); |
|
| 53 | + list($updQuery, $binds,) = $this->bindFromNamedToQuestions($query, $params); |
|
| 54 | 54 | $statement = odbc_prepare($this->connection, $updQuery); // @phpstan-ignore-line |
| 55 | 55 | |
| 56 | 56 | if ((false !== $statement) && odbc_execute($statement, $binds)) { // @phpstan-ignore-line |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | $numFields = odbc_num_fields($statement); |
| 64 | - for ($i=1; $i<=$numFields; $i++) { |
|
| 64 | + for ($i = 1; $i <= $numFields; $i++) { |
|
| 65 | 65 | // odbc starts its indexes at 1 but since I am |
| 66 | 66 | // trying to emulate the functionality of *_fetch_array |
| 67 | 67 | // for other dbs (ie mysql) I'm going to decrement my |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | $this->connect(); |
| 92 | 92 | |
| 93 | - list($updQuery, $binds, ) = $this->bindFromNamedToQuestions($query, $params); |
|
| 93 | + list($updQuery, $binds,) = $this->bindFromNamedToQuestions($query, $params); |
|
| 94 | 94 | $statement = odbc_prepare($this->connection, strval($updQuery)); |
| 95 | 95 | if (false !== $statement) { |
| 96 | 96 | $result = odbc_execute($statement, $binds); // @phpstan-ignore-line |