@@ -130,7 +130,7 @@ using the new lazy connections as detailed below.
130
130
From a consumer side this means that you can start sending queries to the
131
131
database right away while the underlying connection may still be
132
132
outstanding. Because creating this underlying connection may take some
133
- time, it will enqueue all oustanding commands and will ensure that all
133
+ time, it will enqueue all outstanding commands and will ensure that all
134
134
commands will be executed in correct order once the connection is ready.
135
135
In other words, this "virtual" connection behaves just like a "real"
136
136
connection as described in the `ConnectionInterface` and frees you from
@@ -176,7 +176,7 @@ have to take care of when updating from an older version.
176
176
$connection = new Connection($loop, $options);
177
177
$connection->connect(function (?Exception $error, $connection) {
178
178
if ($error) {
179
- // an error occured while trying to connect or authorize client
179
+ // an error occurred while trying to connect or authorize client
180
180
} else {
181
181
// client connection established (and authenticated)
182
182
}
@@ -189,7 +189,7 @@ have to take care of when updating from an older version.
189
189
// client connection established (and authenticated)
190
190
},
191
191
function (Exception $e) {
192
- // an error occured while trying to connect or authorize client
192
+ // an error occurred while trying to connect or authorize client
193
193
}
194
194
);
195
195
```
0 commit comments