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 a7ea0af + 5e2d51e commit ffd609bCopy full SHA for ffd609b
README.md
@@ -1153,7 +1153,7 @@ The following example can be used to pipe the contents of a source file into
1153
a destination file without having to ever read the whole file into memory:
1154
1155
```php
1156
-$loop = new React\EventLoop\StreamSelectLoop::create();
+$loop = new React\EventLoop\StreamSelectLoop;
1157
1158
$source = new React\Stream\ReadableResourceStream(fopen('source.txt', 'r'), $loop);
1159
$dest = new React\Stream\WritableResourceStream(fopen('destination.txt', 'w'), $loop);
0 commit comments