Skip to content

Commit

Permalink
Apply fixes from StyleCI (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive authored May 19, 2018
1 parent 58f74ca commit 26d893a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Client/DropboxClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,10 +462,10 @@ protected function setupDropboxHeaders()
$this->request
),
];
if (!empty($this->content) ||
$this->apiEndpoint == 'files/upload_session/finish') {
if (!empty($this->content) ||
$this->apiEndpoint == 'files/upload_session/finish') {
// The upload_session/finish API requires a Content-Type, always
$headers['Content-Type'] = 'application/octet-stream';
$headers['Content-Type'] = 'application/octet-stream';
}

return $headers;
Expand Down

0 comments on commit 26d893a

Please sign in to comment.