Skip to content

Commit 6b3f134

Browse files
committed
Updated README
1 parent c42b2cc commit 6b3f134

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This config file must return an array with the minimum structure below:
4141

4242
```php
4343
return [
44-
'pdo' => [ // An array with a minimum of 1 item and a maximum of 4 items
44+
'pdo' => [ // An array with a minimum of 1 item and a maximum of 4 items or an instance of the PDO class
4545
'sqlite::memory:', // 1st compulsory item is a dsn string to be passed as 1st arg to the PDO consructor
4646
'username', // 2nd optional item is a username string to be passed as 2nd arg to the PDO consructor
4747
'password', // 3rd optional item is a password string to be passed as 3rd arg to the PDO consructor

sample-config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
return [
3-
'pdo' => [ // An array with a minimum of 1 item and a maximum of 4 items
3+
'pdo' => [ // An array with a minimum of 1 item and a maximum of 4 items or an instance of a PDO object
44
'sqlite::memory:', // 1st compulsory item is a dsn string to be passed as 1st arg to the PDO consructor
55
'username', // 2nd optional item is a username string to be passed as 2nd arg to the PDO consructor
66
'password', // 3rd optional item is a password string to be passed as 3rd arg to the PDO consructor

0 commit comments

Comments
 (0)