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

Commit 147f8ba

Browse files
committed
Merge pull request #22 from php-http/dbu-patch-1
improve stream factory phpdoc
2 parents cc0e3f7 + 459801a commit 147f8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StreamFactory.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface StreamFactory
1919
* @return StreamInterface
2020
*
2121
* @throws \InvalidArgumentException If the stream body is invalid.
22-
* @throws \RuntimeException If cannot write to stream.
22+
* @throws \RuntimeException If creating the stream from $body fails.
2323
*/
2424
public function createStream($body = null);
2525
}

0 commit comments

Comments
 (0)