1324| if (is_object($input_types)) { // Parameters passed in as object/dictionary`
to
1324| if (is_array($input_types)) { // Parameters passed in as array?`
then it works fine.
The documentation says that you can pass an object but the only way I could get it to work was by changing it to an array. Is there a better way to construct the $transfer_params parameter in my example?
When calling the get_transfers method with an array parameter I get an "Undefined offset: 0" exception.
Example code:
Offending source line:
If I change the following source line from:
to
then it works fine.
The documentation says that you can pass an object but the only way I could get it to work was by changing it to an array. Is there a better way to construct the
$transfer_params
parameter in my example?