Skip to content

Commit

Permalink
Simplify array assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hussainweb committed Jun 25, 2015
1 parent c8e63f1 commit 00656b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handler/CurlFactory.php
Expand Up @@ -178,7 +178,7 @@ private function getDefaultConf(EasyHandle $easy)
];

if (defined('CURLOPT_PROTOCOLS')) {
$conf += [CURLOPT_PROTOCOLS => CURLPROTO_HTTP | CURLPROTO_HTTPS];
$conf[CURLOPT_PROTOCOLS] = CURLPROTO_HTTP | CURLPROTO_HTTPS;
}

$version = $easy->request->getProtocolVersion();
Expand Down

0 comments on commit 00656b8

Please sign in to comment.