FIX: Removal of optional param.

This commit is contained in:
Frank Mullenger 2019-02-15 13:52:58 +13:00
parent 27994e51fa
commit 90f0556ca4

View File

@ -37,7 +37,7 @@ trait Fetcher
* @param array|null $extraConfig Extra configuration * @param array|null $extraConfig Extra configuration
* @return ResponseInterface * @return ResponseInterface
*/ */
public function fetchResponse(string $url, ? array $extraConfig = []) public function fetchResponse(string $url, array $extraConfig = [])
{ {
$config = $this->getClientConfig($extraConfig); $config = $this->getClientConfig($extraConfig);
$client = new Client($config); $client = new Client($config);