diff --git a/src/RemoteLRS.php b/src/RemoteLRS.php index 5a354c3..5c67539 100644 --- a/src/RemoteLRS.php +++ b/src/RemoteLRS.php @@ -118,7 +118,7 @@ protected function sendRequest($method, $resource) { } } if (isset($options['params']) && count($options['params']) > 0) { - $url .= '?' . http_build_query($options['params'], null, '&', PHP_QUERY_RFC3986); + $url .= '?' . http_build_query($options['params'], '', '&', PHP_QUERY_RFC3986); } if (($method === 'PUT' || $method === 'POST') && isset($options['content'])) { @@ -1219,4 +1219,4 @@ public function setHeaders($value) { return $this; } public function getHeaders() { return $this->headers; } -} +} \ No newline at end of file