Skip to content

Commit b608ac8

Browse files
committed
Fix typos in documentation and examples
1 parent daa4521 commit b608ac8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ try {
169169
$results = await($promise);
170170
// results successfully received
171171
} catch (Exception $e) {
172-
// an error occured while performing the request
172+
// an error occurred while performing the request
173173
}
174174
```
175175

examples/exec-stream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$out = new React\Stream\WritableResourceStream(STDOUT);
2828
$stderr = new React\Stream\WritableResourceStream(STDERR);
2929

30-
// unkown exit code by default
30+
// unknown exit code by default
3131
$exit = 1;
3232

3333
$client->execCreate($container, $cmd)->then(function ($info) use ($client, $out, $stderr, &$exit) {

examples/logs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function ($logs) {
2727
},
2828
function (Exception $e) use ($container) {
2929
echo <<<EOT
30-
An error occured while trying to access the logs.
30+
An error occurred while trying to access the logs.
3131
3232
Have you tried running the following command?
3333

0 commit comments

Comments
 (0)