Skip to content

Commit 8041ddb

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php-binance-api.php

Lines changed: 1 addition & 1 deletion
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)