Skip to content

Commit f25d73d

Browse files
committed
Fix "occured" typo
1 parent 7a65199 commit f25d73d

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
@@ -441,7 +441,7 @@ try {
441441
$responses = await($promise);
442442
// responses successfully received
443443
} catch (Exception $e) {
444-
// an error occured while performing the requests
444+
// an error occurred while performing the requests
445445
}
446446
```
447447

examples/02-http-all.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function ($responses) {
2929
}
3030
},
3131
function ($e) {
32-
echo 'An error occured: ' . $e->getMessage() . PHP_EOL;
32+
echo 'An error occurred: ' . $e->getMessage() . PHP_EOL;
3333
}
3434
);
3535

examples/03-http-any.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function ($url) {
3131
echo 'First successful URL is ' . $url . PHP_EOL;
3232
},
3333
function ($e) {
34-
echo 'An error occured: ' . $e->getMessage() . PHP_EOL;
34+
echo 'An error occurred: ' . $e->getMessage() . PHP_EOL;
3535
}
3636
);
3737

0 commit comments

Comments
 (0)