Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fenric committed Nov 2, 2018
1 parent c527f51 commit 58284ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $stream = (new StreamFactory)->createStreamFromFile('http://php.net/', 'rb');
// creates a new stream from the given resource
$stream = (new StreamFactory)->createStreamFromResource(fopen(...));

// converts the stream to string without a magic
// converts the stream to string
(string) $stream;

// closes the stream
Expand Down

0 comments on commit 58284ed

Please sign in to comment.