Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Fix for counting the args
Browse files Browse the repository at this point in the history
  • Loading branch information
dmzoneill committed Oct 16, 2018
1 parent 4be9587 commit 8041ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class API
public function __construct()
{
$param = func_get_args();
switch (func_num_args()) {
switch (count($param)) {
case 0:
$this->setupApiConfigFromFile();
$this->setupProxyConfigFromFile();
Expand Down

0 comments on commit 8041ddb

Please sign in to comment.