We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5312ea5 + ac2846e commit e55c465Copy full SHA for e55c465
lib/Github/HttpClient/HttpClient.php
@@ -55,7 +55,8 @@ class HttpClient implements HttpClientInterface
55
public function __construct(array $options = array(), ClientInterface $client = null)
56
{
57
$client = $client ?: new Curl();
58
- $client->setTimeout($this->options['timeout']);
+ $timeout = isset($options['timeout']) ? $options['timeout'] : $this->options['timeout'];
59
+ $client->setTimeout($timeout);
60
$client->setVerifyPeer(false);
61
62
$this->options = array_merge($this->options, $options);
0 commit comments