diff --git a/lib/Client.php b/lib/Client.php index aa381a2..2c402a5 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -181,16 +181,13 @@ private function buildUrl($queryParams = null) */ private function createCurlOptions($method, $body = null, $headers = null) { - $options = array_merge( - [ + $options = [ CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => 1, CURLOPT_CUSTOMREQUEST => strtoupper($method), CURLOPT_SSL_VERIFYPEER => true, CURLOPT_FAILONERROR => false - ], - $this->curlOptions - ); + ] + $this->curlOptions; if (isset($headers)) { $headers = array_merge($this->headers, $headers);