Skip to content

Commit

Permalink
Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yadaiio committed Nov 8, 2023
1 parent 392dc16 commit 563be91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
ignore `JSON_THROW_ON_ERROR` option (available as of PHP 7.3).
(#14 by @clue)

* Feature: Add bechmarking script and import all global function references.
* Feature: Add benchmarking script and import all global function references.
(#16 by @clue)

* Improve documentation and add NDJSON format description and
Expand All @@ -50,7 +50,7 @@
* Feature: Limit buffer size to 64 KiB by default.
(#10 by @clue)

* Feature: Forward compatiblity with EventLoop v0.5 and upcoming v1.0.
* Feature: Forward compatibility with EventLoop v0.5 and upcoming v1.0.
(#8 by @clue)

* Fix: Return bool `false` if encoding fails due to invalid value to pause source.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ it will emit an `error` event and then `close` the input stream:

```php
$ndjson->on('error', function (Exception $error) {
// an error occured, stream will close next
// an error occurred, stream will close next
});
```

Expand Down Expand Up @@ -270,7 +270,7 @@ it will emit an `error` event and then `close` the input stream:

```php
$ndjson->on('error', function (Exception $error) {
// an error occured, stream will close next
// an error occurred, stream will close next
});
```

Expand Down

0 comments on commit 563be91

Please sign in to comment.