Skip to content

Commit 65363e6

Browse files
authored
Merge pull request #9 from loilo/fix-assoc-decoder-snippet
Fix example code snippet in AssocDecoder section
2 parents 7e26ef5 + 7fca18a commit 65363e6

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
@@ -239,7 +239,7 @@ test,1
239239
```php
240240
$stdin = new ReadableResourceStream(STDIN, $loop);
241241

242-
$stream = new Decoder($stdin);
242+
$stream = new AssocDecoder($stdin);
243243

244244
$stream->on('data', function ($data) {
245245
// data is a parsed element from the CSV stream

0 commit comments

Comments
 (0)