Skip to content

Commit

Permalink
Fix minor documentation typo
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Jan 25, 2019
1 parent 47c8e81 commit c9e8cfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ caused by invalid SQL queries.
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
2 changes: 1 addition & 1 deletion src/ConnectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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

0 comments on commit c9e8cfc

Please sign in to comment.