Skip to content

Commit

Permalink
Merge pull request #83 from yadaiio/typos
Browse files Browse the repository at this point in the history
Fix typos in documentation and examples
  • Loading branch information
clue authored Dec 19, 2023
2 parents daa4521 + b608ac8 commit 9209885
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ try {
$results = await($promise);
// results successfully received
} catch (Exception $e) {
// an error occured while performing the request
// an error occurred while performing the request
}
```

Expand Down
2 changes: 1 addition & 1 deletion examples/exec-stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$out = new React\Stream\WritableResourceStream(STDOUT);
$stderr = new React\Stream\WritableResourceStream(STDERR);

// unkown exit code by default
// unknown exit code by default
$exit = 1;

$client->execCreate($container, $cmd)->then(function ($info) use ($client, $out, $stderr, &$exit) {
Expand Down
2 changes: 1 addition & 1 deletion examples/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function ($logs) {
},
function (Exception $e) use ($container) {
echo <<<EOT
An error occured while trying to access the logs.
An error occurred while trying to access the logs.
Have you tried running the following command?
Expand Down

0 comments on commit 9209885

Please sign in to comment.