Skip to content

Commit

Permalink
Fix typos in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yadaiio committed Nov 6, 2023
1 parent d670a66 commit f9bd278
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/DatabaseInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* The `close` event will be emitted once the connection closes (terminates).
*
* ```php
* $connecion->on('close', function () {
* $connection->on('close', function () {
* echo 'Connection closed' . PHP_EOL;
* });
* ```
Expand Down Expand Up @@ -173,7 +173,7 @@ public function quit();
* Force-close the connection.
*
* Unlike the `quit()` method, this method will immediately force-close the
* connection and reject all oustanding commands.
* connection and reject all outstanding commands.
*
* ```php
* $db->close();
Expand Down
2 changes: 1 addition & 1 deletion src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function open($filename, $flags = null)
* From a consumer side this means that you can start sending queries to the
* database right away while the underlying database process may still be
* outstanding. Because creating this underlying process may take some
* time, it will enqueue all oustanding commands and will ensure that all
* time, it will enqueue all outstanding commands and will ensure that all
* commands will be executed in correct order once the database is ready.
* In other words, this "virtual" database behaves just like a "real"
* database as described in the `DatabaseInterface` and frees you from
Expand Down

0 comments on commit f9bd278

Please sign in to comment.