From e5fd3534aabd1a37de90d713581847ebd05bc4f6 Mon Sep 17 00:00:00 2001 From: Daniel Hendricks Date: Tue, 23 Oct 2018 15:38:40 -0500 Subject: [PATCH] Change stdout to temp RunCloudIO@4ba3b2a8f0d1a9bf06eae90ba214437ef86d78c5 --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 8a06dc5..5dfddfb 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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'])) {