Skip to content

Commit a254f03

Browse files
authored
fix(php): assign value when normalising request options (#3659)
1 parent 663670f commit a254f03

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

clients/algoliasearch-client-php/lib/RequestOptions/RequestOptionsFactory.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,7 @@ private function normalize($options)
7070
$headersToLowerCase
7171
);
7272
} else {
73-
$normalized[$optionName] = array_merge(
74-
$normalized[$optionName],
75-
$value
76-
);
73+
$normalized[$optionName] = $value;
7774
}
7875
}
7976

0 commit comments

Comments
 (0)