Skip to content

Commit 9453d1a

Browse files
authored
Merge pull request #34 from yadaiio/typos
Fix typos in documentation
2 parents 392dc16 + 563be91 commit 9453d1a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
ignore `JSON_THROW_ON_ERROR` option (available as of PHP 7.3).
2727
(#14 by @clue)
2828

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

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

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

5656
* Fix: Return bool `false` if encoding fails due to invalid value to pause source.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ it will emit an `error` event and then `close` the input stream:
181181

182182
```php
183183
$ndjson->on('error', function (Exception $error) {
184-
// an error occured, stream will close next
184+
// an error occurred, stream will close next
185185
});
186186
```
187187

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

271271
```php
272272
$ndjson->on('error', function (Exception $error) {
273-
// an error occured, stream will close next
273+
// an error occurred, stream will close next
274274
});
275275
```
276276

0 commit comments

Comments
 (0)