File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments