| Total Complexity | 5 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class CollectClause extends Clause |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var array<array<string[]>>|array<mixed> |
||
| 15 | */ |
||
| 16 | protected array $groups; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * CollectClause constructor. |
||
| 20 | * @param array<array<string|null>> $groups |
||
| 21 | */ |
||
| 22 | 2 | public function __construct(array $groups = []) |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @throws ExpressionTypeException |
||
| 29 | */ |
||
| 30 | 2 | public function compile(QueryBuilder $queryBuilder): string |
|
| 62 |