Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RunCloudIO/b2-sdk-php
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Fikrizaman Bin Abd Rahim committed Sep 27, 2018
2 parents ba3e314 + 4ba3b2a commit 4b1b766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function download(array $options)
'headers' => [
'Authorization' => $this->authToken,
],
'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://stdout', 'w'),
'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://temp', 'w'),
];

if (isset($options['FileId'])) {
Expand Down

0 comments on commit 4b1b766

Please sign in to comment.