Skip to content
This repository has been archived by the owner on Jul 5, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3 from lombartec/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect setting of curl options
  • Loading branch information
Zolli authored Nov 24, 2016
2 parents 305237b + 0657140 commit 5e978b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client/Curl/CurlClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function setOptionArray(array $options) {
*/
protected function setOptionsOnRequest(CurlRequest $request, $options) {
foreach($options as $option => $value) {
$request->setOption($options, $value);
$request->setOption($option, $value);
}
}

Expand Down

0 comments on commit 5e978b0

Please sign in to comment.