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.
2 parents 9ed9ebd + 8f611a7 commit bef86bbCopy full SHA for bef86bb
README.md
@@ -1122,8 +1122,8 @@ This is useful for some APIs which may require a single
1122
more convenient to work with a single stream instance like this:
1123
1124
```php
1125
-$stdin = new ReadableStreamResource(STDIN, $loop);
1126
-$stdout = new WritableStreamResource(STDOUT, $loop);
+$stdin = new ReadableResourceStream(STDIN, $loop);
+$stdout = new WritableResourceStream(STDOUT, $loop);
1127
1128
$stdio = new CompositeStream($stdin, $stdout);
1129
0 commit comments