Skip to content

Commit

Permalink
Merge pull request #9 from loilo/fix-assoc-decoder-snippet
Browse files Browse the repository at this point in the history
Fix example code snippet in AssocDecoder section
  • Loading branch information
clue committed Jun 2, 2019
2 parents 7e26ef5 + 7fca18a commit 65363e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ test,1
```php
$stdin = new ReadableResourceStream(STDIN, $loop);

$stream = new Decoder($stdin);
$stream = new AssocDecoder($stdin);

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

0 comments on commit 65363e6

Please sign in to comment.