Skip to content

Commit

Permalink
Add argument $config to constructor of HttpRequestManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny committed Oct 24, 2022
1 parent 881720a commit a48b4cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RequestManagers/HttpRequestManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ class HttpRequestManager extends RequestManager implements IRequestManager
*
* @param string $host
* @param int $timeout
* @return void
* @param array $config
*/
public function __construct($host, $timeout = 1)
public function __construct(string $host, int $timeout = 1, array $config = [])
{
parent::__construct($host, $timeout);
$this->client = new Client;
$this->client = new Client($config);
}

/**
Expand Down

0 comments on commit a48b4cc

Please sign in to comment.