From f8f226afde06b46cb56fee2e59c4383aa6e7e753 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Mon, 1 Apr 2024 20:18:40 +0700 Subject: [PATCH] Fix array merge for php8.0 --- tests/Support/Stub/DQLQueryBuilder.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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, - ]; + ]); } }