Skip to content

Commit

Permalink
Fix array merge for php8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Apr 1, 2024
1 parent 6d1de52 commit f8f226a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/Support/Stub/DQLQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
]);
}
}

0 comments on commit f8f226a

Please sign in to comment.