Skip to content

Commit

Permalink
Replace array_merge by array_replace
Browse files Browse the repository at this point in the history
  • Loading branch information
t-veron committed Dec 29, 2017
1 parent 674cff2 commit 1cf55ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RequestMethod/CurlPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function submit(RequestParameters $params)
CURLOPT_SSL_VERIFYPEER => true
);

$this->curl->setoptArray($handle, array_merge($options , $this->options));
$this->curl->setoptArray($handle, array_replace($options , $this->options));
$response = $this->curl->exec($handle);
$this->curl->close($handle);

Expand Down

0 comments on commit 1cf55ba

Please sign in to comment.