diff --git a/src/StreamFactory.php b/src/StreamFactory.php index 6abc53b..327a902 100644 --- a/src/StreamFactory.php +++ b/src/StreamFactory.php @@ -19,7 +19,7 @@ interface StreamFactory * @return StreamInterface * * @throws \InvalidArgumentException If the stream body is invalid. - * @throws \RuntimeException If cannot write to stream. + * @throws \RuntimeException If creating the stream from $body fails. */ public function createStream($body = null); }