Skip to content

Commit 064f7b3

Browse files
authored
Merge pull request #77 from yadaiio/typos
Fix typos in documentation
2 parents 7a1fcb6 + 936c1b8 commit 064f7b3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ $factory->createClient($url)->then(
150150
// client connected (and authenticated)
151151
},
152152
function (Exception $e) {
153-
// an error occured while trying to connect or authorize client
153+
// an error occurred while trying to connect or authorize client
154154
}
155155
);
156156
```
@@ -355,7 +355,7 @@ $sender->ping()->then(
355355
// response received for ping action
356356
},
357357
function (Exception $e) {
358-
// an error occured while executing the action
358+
// an error occurred while executing the action
359359

360360
if ($e instanceof Clue\React\Ami\Protocol\ErrorException) {
361361
// we received a valid error response (such as authorization error)

src/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct(LoopInterface $loop = null, ConnectorInterface $conn
6464
* // client connected (and authenticated)
6565
* },
6666
* function (Exception $e) {
67-
* // an error occured while trying to connect or authorize client
67+
* // an error occurred while trying to connect or authorize client
6868
* }
6969
* );
7070
* ```

tests/ActionSenderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function testCollectingSIPEvents()
2323

2424
$promise = $collector->sipPeers();
2525

26-
// save resolved result for comparisions
26+
// save resolved result for comparisons
2727
$resolved = null;
2828
$promise->then(function($result) use (&$resolved) {
2929
$resolved = $result;

0 commit comments

Comments
 (0)