Skip to content

Commit

Permalink
request params default set empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
justmd5 committed Apr 17, 2020
1 parent e1340dd commit 3c8ba49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private function signature($params)
*
* @return mixed
*/
public function request($method, $params, $data_type = 'JSON')
public function request($method, $params=[], $data_type = 'JSON')
{
$http = $this->getHttp();
$params = $this->paramsHandle($params);
Expand Down

0 comments on commit 3c8ba49

Please sign in to comment.