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

Commit 459801a

Browse files
committed
improve stream factory phpdoc
1 parent afe5891 commit 459801a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/StreamFactory.php

Lines changed: 1 addition & 1 deletion
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)