| Total Complexity | 4 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ListExpression extends Expression implements ExpressionInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @psalm-suppress MixedArgumentTypeCoercion |
||
| 17 | * |
||
| 18 | * @param array<array-key, null|object|scalar>|Expression $expression |
||
|
|
|||
| 19 | */ |
||
| 20 | 1 | public function __construct( |
|
| 21 | array|Expression $expression |
||
| 22 | ) { |
||
| 23 | 1 | $this->expression = $expression; |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @throws ExpressionTypeException |
||
| 28 | */ |
||
| 29 | 1 | public function compile(QueryBuilder $queryBuilder): string |
|
| 47 | } |
||
| 48 | } |
||
| 49 |