Skip to content

Commit

Permalink
Merge pull request #5 from takrout/master
Browse files Browse the repository at this point in the history
Replace array_merge with array_merge_recursive in Stream class in order to for example add proxy to http options
  • Loading branch information
DarkaOnLine authored Nov 1, 2016
2 parents 7461572 + 0b778ad commit 3415d3d
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 @@ -45,7 +45,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 3415d3d

Please sign in to comment.