Skip to content
This repository was archived by the owner on May 27, 2022. It is now read-only.

Commit 6b134c4

Browse files
authored
[doc] Fix readStream reference
1 parent 00909e4 commit 6b134c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fclose($handle);
4646
// Remotely a data.txt.gz.encrypted file has now been created
4747

4848
// Download a file, with stream
49-
$handle = $filesystem->writeStream('data.txt');
49+
$handle = $filesystem->readStream('data.txt');
5050
file_put_contents('my-huge-file.txt', $handle);
5151
fclose($handle);
5252
```

0 commit comments

Comments
 (0)