Skip to content

Commit

Permalink
Change stdout to temp RunCloudIO/b2-sdk-php@4ba3b2a
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Oct 23, 2018
1 parent 6210fab commit e5fd353
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'] : null,
'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://temp', 'w'),
];

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

0 comments on commit e5fd353

Please sign in to comment.