We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9beaa5 commit 2e96b08Copy full SHA for 2e96b08
1 file changed
src/Stream.php
@@ -20,7 +20,7 @@ public function __construct($stream, LoopInterface $loop)
20
{
21
$this->stream = $stream;
22
if (!is_resource($this->stream) || get_resource_type($this->stream) !== "stream") {
23
- throw new InvalidArgumentException('Invalid stream resource passed as the first argument to '. __METHOD__);
+ throw new InvalidArgumentException('First parameter must be a valid stream resource');
24
}
25
26
stream_set_blocking($this->stream, 0);
0 commit comments