Skip to content

Commit

Permalink
Merge pull request #92 from clue-labs/typo
Browse files Browse the repository at this point in the history
Fix minor documentation typo
  • Loading branch information
WyriHaximus authored Jan 28, 2019
2 parents 47c8e81 + c9e8cfc commit d01ab2b
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 d01ab2b

Please sign in to comment.