Skip to content

Commit

Permalink
(fix): merge query arguments recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonvanWijhe committed Jul 15, 2021
1 parent bd5ac8b commit 762e782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/Repositories/AbstractRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function getQuery()
*/
public function query(array $args): AbstractRepository
{
$this->queryArgs = array_merge($this->queryArgs, $args);
$this->queryArgs = array_merge_recursive($this->queryArgs, $args);

return $this;
}
Expand Down

0 comments on commit 762e782

Please sign in to comment.