@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | foreach ($relations as $localAlias => $remoteColumn) { |
| 112 | 112 | $this->readQueryBuilder->addColumn($record->getMapper()->getAlias(), $remoteColumn, $localAlias); |
| 113 | 113 | } |
| 114 | - $this->readQueryBuilder->setLimits(0,1); |
|
| 114 | + $this->readQueryBuilder->setLimits(0, 1); |
|
| 115 | 115 | |
| 116 | 116 | // query itself |
| 117 | 117 | $lines = $this->readDatabase->query( |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | // query itself |
| 175 | - $this->readQueryBuilder->setLimits(0,1); |
|
| 175 | + $this->readQueryBuilder->setLimits(0, 1); |
|
| 176 | 176 | $lines = $this->readDatabase->query( |
| 177 | 177 | strval($this->readDialect->select($this->readQueryBuilder)), |
| 178 | 178 | array_filter($this->readQueryBuilder->getParams(), [$this, 'filterNullValues']) |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | // paging |
| 126 | 126 | return $limited |
| 127 | 127 | ? array_slice($results, intval($this->queryBuilder->getOffset()), $this->queryBuilder->getLimit()) |
| 128 | - : $results ; |
|
| 128 | + : $results; |
|
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
@@ -305,6 +305,6 @@ discard block |
||
| 305 | 305 | $a = $resultA->offsetGet($this->sortingOrder->getColumnName()); |
| 306 | 306 | $b = $resultB->offsetGet($this->sortingOrder->getColumnName()); |
| 307 | 307 | |
| 308 | - return (IQueryBuilder::ORDER_ASC == $sortingDirection) ? $a <=> $b : $b <=> $a ; |
|
| 308 | + return (IQueryBuilder::ORDER_ASC == $sortingDirection) ? $a <=> $b : $b <=> $a; |
|
| 309 | 309 | } |
| 310 | 310 | } |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | { |
| 28 | 28 | // ... |
| 29 | 29 | } |
| 30 | - |
|
| 31 | 30 | */ |
| 32 | 31 | interface ICanFill |
| 33 | 32 | { |