@@ -1353,9 +1353,9 @@ discard block |
||
| 1353 | 1353 | private function getDQLForDelete() |
| 1354 | 1354 | { |
| 1355 | 1355 | return 'DELETE' |
| 1356 | - . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
| 1357 | - . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
| 1358 | - . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
| 1356 | + . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
| 1357 | + . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
| 1358 | + . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
| 1359 | 1359 | } |
| 1360 | 1360 | |
| 1361 | 1361 | /** |
@@ -1364,10 +1364,10 @@ discard block |
||
| 1364 | 1364 | private function getDQLForUpdate() |
| 1365 | 1365 | { |
| 1366 | 1366 | return 'UPDATE' |
| 1367 | - . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
| 1368 | - . $this->getReducedDQLQueryPart('set', ['pre' => ' SET ', 'separator' => ', ']) |
|
| 1369 | - . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
| 1370 | - . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
| 1367 | + . $this->getReducedDQLQueryPart('from', ['pre' => ' ', 'separator' => ', ']) |
|
| 1368 | + . $this->getReducedDQLQueryPart('set', ['pre' => ' SET ', 'separator' => ', ']) |
|
| 1369 | + . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
| 1370 | + . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
| 1371 | 1371 | } |
| 1372 | 1372 | |
| 1373 | 1373 | /** |
@@ -1404,10 +1404,10 @@ discard block |
||
| 1404 | 1404 | } |
| 1405 | 1405 | |
| 1406 | 1406 | $dql .= implode(', ', $fromClauses) |
| 1407 | - . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
| 1408 | - . $this->getReducedDQLQueryPart('groupBy', ['pre' => ' GROUP BY ', 'separator' => ', ']) |
|
| 1409 | - . $this->getReducedDQLQueryPart('having', ['pre' => ' HAVING ']) |
|
| 1410 | - . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
| 1407 | + . $this->getReducedDQLQueryPart('where', ['pre' => ' WHERE ']) |
|
| 1408 | + . $this->getReducedDQLQueryPart('groupBy', ['pre' => ' GROUP BY ', 'separator' => ', ']) |
|
| 1409 | + . $this->getReducedDQLQueryPart('having', ['pre' => ' HAVING ']) |
|
| 1410 | + . $this->getReducedDQLQueryPart('orderBy', ['pre' => ' ORDER BY ', 'separator' => ', ']); |
|
| 1411 | 1411 | |
| 1412 | 1412 | return $dql; |
| 1413 | 1413 | } |
@@ -1427,8 +1427,8 @@ discard block |
||
| 1427 | 1427 | } |
| 1428 | 1428 | |
| 1429 | 1429 | return ($options['pre'] ?? '') |
| 1430 | - . (is_array($queryPart) ? implode($options['separator'], $queryPart) : $queryPart) |
|
| 1431 | - . ($options['post'] ?? ''); |
|
| 1430 | + . (is_array($queryPart) ? implode($options['separator'], $queryPart) : $queryPart) |
|
| 1431 | + . ($options['post'] ?? ''); |
|
| 1432 | 1432 | } |
| 1433 | 1433 | |
| 1434 | 1434 | /** |