From 459801a17118d234fea515128f83bf9549dac382 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Tue, 15 Dec 2015 13:22:25 +0100 Subject: [PATCH] improve stream factory phpdoc --- src/StreamFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }