Skip to content

Commit

Permalink
Update HttpClient.php
Browse files Browse the repository at this point in the history
add support php8.0 and remove the default value of `params` in `request` method
  • Loading branch information
utrain-tm authored Dec 1, 2021
1 parent 199a127 commit caeac02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/API2Client/Client/Http/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function setTimeout ($timeOut)
* @throws HttpClientException
* @return mixed
*/
public function request ($url, $params = array(), $method)
public function request ($url, $params, $method)
{
curl_setopt ($this->curl, CURLOPT_RETURNTRANSFER, 1);

Expand Down

0 comments on commit caeac02

Please sign in to comment.