Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mads Møller committed Mar 22, 2016
1 parent 7843aa7 commit 7daa95c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Client/CurlClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function __construct()
public function call($method, $url, $endpoint, $auth, $data, $options = [])
{
$queryParams = null;
$headers = [];

// Parse query parameters.
if (!empty($options['queryParam']) && is_array($options['queryParam'])) {
Expand All @@ -75,7 +76,7 @@ public function call($method, $url, $endpoint, $auth, $data, $options = [])
$auth = [];
}

// Set datatype, wheather it's a file upload or json
// Set datatype, whether it's a file upload or json
if (isset($data['certificate'])) {
$dataType = 'multipart';
foreach ($data as $key => $value) {
Expand Down

0 comments on commit 7daa95c

Please sign in to comment.