v1.1.2
- Fixed bug where the custom cURL options passed to the
requestmethod weren't properly overriding default options. + operator does not work the same way asarray_mergespecifically regarding order:
If an array key exists in both arrays, then the element from the first array will be used and the matching key's element from the second array will be ignored.
https://www.php.net/manual/en/function.array-merge.php
Therefore default_options + custom_options had to be changed to: custom_options + default_options