Skip to content

Commit

Permalink
Replace array_merge with array_merge_recursive in Stream class
Browse files Browse the repository at this point in the history
in order to for example add proxy to http options
  • Loading branch information
Tarek AKROUT committed Nov 1, 2016
1 parent 33e1cb6 commit 0b778ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ripcord/Client/Transport/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct($contextOptions = null)
*/
public function post($url, $request)
{
$options = array_merge(
$options = array_merge_recursive(
$this->options,
[
'http' => [
Expand Down

0 comments on commit 0b778ad

Please sign in to comment.