Skip to content

Commit 4b1b766

Browse files
author
Ahmad Fikrizaman Bin Abd Rahim
committed
Merge branch 'master' of github.com:RunCloudIO/b2-sdk-php
2 parents ba3e314 + 4ba3b2a commit 4b1b766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function download(array $options)
237237
'headers' => [
238238
'Authorization' => $this->authToken,
239239
],
240-
'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://stdout', 'w'),
240+
'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://temp', 'w'),
241241
];
242242

243243
if (isset($options['FileId'])) {

0 commit comments

Comments
 (0)