Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}
);

2 changes: 1 addition & 1 deletion tests/QueueAllTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testAllRejectsIfHandlerIsInvalid()
Queue::all(1, array(), 'foobar')->then(null, $this->expectCallableOnce());
}

public function testWillResolveWithtEmptyArrayWithoutInvokingHandlerWhenJobsAreEmpty()
public function testWillResolveWithEmptyArrayWithoutInvokingHandlerWhenJobsAreEmpty()
{
$promise = Queue::all(1, array(), $this->expectCallableNever());

Expand Down