We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c68e219 commit 29883b7Copy full SHA for 29883b7
src/Elasticsearch/Connections/Connection.php
@@ -327,7 +327,7 @@ private function wrapHandler(callable $handler)
327
private function getURI($uri, $params)
328
{
329
if (isset($params) === true && !empty($params)) {
330
- array_walk($params, function (&$value, &$key) {
+ array_walk($params, function (&$value) {
331
if ($value === true) {
332
$value = 'true';
333
} elseif ($value === false) {
0 commit comments