We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ba3e314 + 4ba3b2a commit 4b1b766Copy full SHA for 4b1b766
1 file changed
src/Client.php
@@ -237,7 +237,7 @@ public function download(array $options)
237
'headers' => [
238
'Authorization' => $this->authToken,
239
],
240
- 'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://stdout', 'w'),
+ 'sink' => isset($options['SaveAs']) ? $options['SaveAs'] : fopen('php://temp', 'w'),
241
];
242
243
if (isset($options['FileId'])) {
0 commit comments