Hello,
In whmcs.php method _call() changed from
return call_user_func_array([$this, 'execute'], [$function, $arguments]);
to
return call_user_func_array([$this, 'execute'], [$function, $arguments[0]]);
Because the arguments are in position 0 of $arguments.
This change correct a bug that does not allow send properly the arguments to whmcs to work.
The second change is just my style.
public function processResponse($response)
{
return new WhmcsResponse($response); was changed to
return $response;
I prefer arrays to work than objects with private variables.
PHP version: 5.6.27
Hello,
In whmcs.php method _call() changed from
return call_user_func_array([$this, 'execute'], [$function, $arguments]);
to
return call_user_func_array([$this, 'execute'], [$function, $arguments[0]]);
Because the arguments are in position 0 of $arguments.
This change correct a bug that does not allow send properly the arguments to whmcs to work.
The second change is just my style.
public function processResponse($response)
{
return new WhmcsResponse($response); was changed to
return $response;
I prefer arrays to work than objects with private variables.
PHP version: 5.6.27