Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | protected function _buildSelectPart(array $parts, Query $query, ValueBinder $generator): string |
||
17 | { |
||
18 | if (!$query->clause('union')) { |
||
19 | return parent::_buildSelectPart($parts, $query, $generator); |
||
20 | } |
||
21 | |||
22 | return sprintf('SELECT * FROM (%s', parent::_buildSelectPart($parts, $query, $generator)); |
||
23 | } |
||
40 |