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

Commit a4a8de5

Browse files
committed
Throw RuntimeException if the factory cannot write to stream
1 parent 93a4124 commit a4a8de5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/StreamFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +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.
2223
*/
2324
public function createStream($body = null);
2425
}

0 commit comments

Comments
 (0)