Skip to content

Commit

Permalink
[fix] Use correct array merge function
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMediocresTestAccount committed Oct 22, 2022
1 parent 4d067ab commit fa19ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Domain/CustomPostTypeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ protected static function getPosts(?array $customQuery = null): array
];

if ($customQuery) {
$query = array_merge_recursive($baseQuery, $customQuery);
$query = array_merge($baseQuery, $customQuery);
} else {
$query = $baseQuery;
}
Expand Down

0 comments on commit fa19ab1

Please sign in to comment.