diff --git a/tests/Support/Stub/DQLQueryBuilder.php b/tests/Support/Stub/DQLQueryBuilder.php index 00e8350a5..72924bbbf 100644 --- a/tests/Support/Stub/DQLQueryBuilder.php +++ b/tests/Support/Stub/DQLQueryBuilder.php @@ -11,9 +11,8 @@ final class DQLQueryBuilder extends AbstractDQLQueryBuilder { protected function defaultExpressionBuilders(): array { - return [ - ...parent::defaultExpressionBuilders(), + return array_merge(parent::defaultExpressionBuilders(), [ Expression::class => ExpressionBuilder::class, - ]; + ]); } }