Skip to content

Commit

Permalink
Fix "occured" typo
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Jul 29, 2023
1 parent 7a65199 commit f25d73d
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 @@ -441,7 +441,7 @@ try {
$responses = await($promise);
// responses successfully received
} catch (Exception $e) {
// an error occured while performing the requests
// an error occurred while performing the requests
}
```

Expand Down
2 changes: 1 addition & 1 deletion examples/02-http-all.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function ($responses) {
}
},
function ($e) {
echo 'An error occured: ' . $e->getMessage() . PHP_EOL;
echo 'An error occurred: ' . $e->getMessage() . PHP_EOL;
}
);

2 changes: 1 addition & 1 deletion examples/03-http-any.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function ($url) {
echo 'First successful URL is ' . $url . PHP_EOL;
},
function ($e) {
echo 'An error occured: ' . $e->getMessage() . PHP_EOL;
echo 'An error occurred: ' . $e->getMessage() . PHP_EOL;
}
);

0 comments on commit f25d73d

Please sign in to comment.