We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 881720a commit a48b4ccCopy full SHA for a48b4cc
src/RequestManagers/HttpRequestManager.php
@@ -34,12 +34,12 @@ class HttpRequestManager extends RequestManager implements IRequestManager
34
*
35
* @param string $host
36
* @param int $timeout
37
- * @return void
+ * @param array $config
38
*/
39
- public function __construct($host, $timeout = 1)
+ public function __construct(string $host, int $timeout = 1, array $config = [])
40
{
41
parent::__construct($host, $timeout);
42
- $this->client = new Client;
+ $this->client = new Client($config);
43
}
44
45
/**
0 commit comments