Skip to content

Commit 8041ddb

Browse files
author
dmzoneill
committed
Fix for counting the args
1 parent 4be9587 commit 8041ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php-binance-api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class API
6565
public function __construct()
6666
{
6767
$param = func_get_args();
68-
switch (func_num_args()) {
68+
switch (count($param)) {
6969
case 0:
7070
$this->setupApiConfigFromFile();
7171
$this->setupProxyConfigFromFile();

0 commit comments

Comments
 (0)