Skip to content

Commit ffd609b

Browse files
authored
Merge pull request #109 from pulyavin/patch-1
Update README.md
2 parents a7ea0af + 5e2d51e commit ffd609b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ The following example can be used to pipe the contents of a source file into
11531153
a destination file without having to ever read the whole file into memory:
11541154

11551155
```php
1156-
$loop = new React\EventLoop\StreamSelectLoop::create();
1156+
$loop = new React\EventLoop\StreamSelectLoop;
11571157

11581158
$source = new React\Stream\ReadableResourceStream(fopen('source.txt', 'r'), $loop);
11591159
$dest = new React\Stream\WritableResourceStream(fopen('destination.txt', 'w'), $loop);

0 commit comments

Comments
 (0)