Uncaught TypeError: Return value of Binance\API
Just trying to migrate from old version of the class, because of the future Binance API changes at the end of the month.
Trying to use the current class no matter using php5 or 7 getting this fatal error.
Fatal error: Uncaught TypeError: Return value of Binance\API::setXMbxUsedWeight() must be an instance of Binance\void, none returned in
...
php-binance-api.php(1339): Binance\API->setXMbxUsedWeight(2) #1
...
php-binance-api.php(936): Binance\API->httpRequest('v3/ticker/price') #2
...
php-binance-api.php on line 2725
Using just the example as is

the old version works perfect for me with all the futures without any issues.
thank you!
P.S. I found that is php version issue. Working with 7.2
Is it have any option to update the old version of the class working with php5 (because of the project) and just update for the removed futures?
Uncaught TypeError: Return value of Binance\API
Just trying to migrate from old version of the class, because of the future Binance API changes at the end of the month.
Trying to use the current class no matter using php5 or 7 getting this fatal error.
Fatal error: Uncaught TypeError: Return value of Binance\API::setXMbxUsedWeight() must be an instance of Binance\void, none returned in
...
php-binance-api.php(1339): Binance\API->setXMbxUsedWeight(2) #1
...
php-binance-api.php(936): Binance\API->httpRequest('v3/ticker/price') #2
...
php-binance-api.php on line 2725
Using just the example as is
the old version works perfect for me with all the futures without any issues.
thank you!
P.S. I found that is php version issue. Working with 7.2
Is it have any option to update the old version of the class working with php5 (because of the project) and just update for the removed futures?