@@ -1136,20 +1136,20 @@ |
||
1136 | 1136 | $secondQuery = new Query($db); |
1137 | 1137 | |
1138 | 1138 | $secondQuery->select('id') |
1139 | - ->from('TotalTotalExample t2') |
|
1140 | - ->where('w > 5'); |
|
1139 | + ->from('TotalTotalExample t2') |
|
1140 | + ->where('w > 5'); |
|
1141 | 1141 | |
1142 | 1142 | $thirdQuery = new Query($db); |
1143 | 1143 | |
1144 | 1144 | $thirdQuery->select('id') |
1145 | - ->from('TotalTotalExample t3') |
|
1146 | - ->where('w = 3'); |
|
1145 | + ->from('TotalTotalExample t3') |
|
1146 | + ->where('w = 3'); |
|
1147 | 1147 | |
1148 | 1148 | $query->select('id') |
1149 | - ->from('TotalExample t1') |
|
1150 | - ->where(['and', 'w > 0', 'x < 2']) |
|
1151 | - ->union($secondQuery) |
|
1152 | - ->union($thirdQuery, true); |
|
1149 | + ->from('TotalExample t1') |
|
1150 | + ->where(['and', 'w > 0', 'x < 2']) |
|
1151 | + ->union($secondQuery) |
|
1152 | + ->union($thirdQuery, true); |
|
1153 | 1153 | |
1154 | 1154 | [$actualQuerySql, $queryParams] = $db->getQueryBuilder()->build($query); |
1155 | 1155 |
@@ -235,8 +235,8 @@ |
||
235 | 235 | public function dropCommentFromTable(string $table): string |
236 | 236 | { |
237 | 237 | return 'COMMENT ON TABLE ' |
238 | - . $this->quoter->quoteTableName($table) |
|
239 | - . ' IS NULL'; |
|
238 | + . $this->quoter->quoteTableName($table) |
|
239 | + . ' IS NULL'; |
|
240 | 240 | } |
241 | 241 | |
242 | 242 | /** |
@@ -325,7 +325,7 @@ |
||
325 | 325 | * |
326 | 326 | * @return array column list. |
327 | 327 | * @psalm-suppress ReferenceConstraintViolation |
328 | - */ |
|
328 | + */ |
|
329 | 329 | private function getTableUniqueColumnNames(string $name, array $columns, array &$constraints = []): array |
330 | 330 | { |
331 | 331 | $constraints = []; |