Skip to content

Commit

Permalink
fix: conflict when merging timeout param (#562)
Browse files Browse the repository at this point in the history
Closes #561
  • Loading branch information
JMLamodiere authored and polyfractal committed Apr 12, 2017
1 parent 9606f52 commit 505688d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elasticsearch/Connections/Connection.php
Expand Up @@ -160,7 +160,7 @@ public function performRequest($method, $uri, $params = null, $body = null, $opt
], $this->headers)
];

$request = array_merge_recursive($request, $this->connectionParams, $options);
$request = array_replace_recursive($request, $this->connectionParams, $options);

// RingPHP does not like if client is empty
if (empty($request['client'])) {
Expand Down

0 comments on commit 505688d

Please sign in to comment.