Skip to content

Commit

Permalink
nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed May 26, 2022
1 parent 267e4e6 commit 4d9abfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ public function send($req, $timeout = 0, $method = '')
/// @todo we could be smarter about this and force usage of curl in scenarios where it is both available and
/// needed, such as digest or ntlm auth. Do not attempt to use it for https if not present
$useCurl = ($this->use_curl == self::USE_CURL_ALWAYS) || ($this->use_curl == self::USE_CURL_AUTO &&
($method == 'https' || $method == 'http11' || $method == 'http2' || $method == 'http2tls'));
(in_array($method, array('https', 'http11', 'http2', 'http2tls'))));

if ($useCurl) {
$r = $this->sendPayloadCURL(
Expand Down

0 comments on commit 4d9abfc

Please sign in to comment.