Skip to content

Commit

Permalink
change stdout to temp
Browse files Browse the repository at this point in the history
  • Loading branch information
coolcodemy authored Sep 27, 2018
1 parent dbcab67 commit 4ba3b2a
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 4ba3b2a

Please sign in to comment.