Skip to content

Commit f36ef70

Browse files
committed
docs: improve doc comments
1 parent 0798239 commit f36ef70

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

system/Database/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Config extends BaseConfig
3737
protected static $factory;
3838

3939
/**
40-
* Creates the default
40+
* Returns the database connection
4141
*
4242
* @param array|BaseConnection|string|null $group The name of the connection group to use,
4343
* or an array of configuration settings.

system/Database/Database.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Database Connection Factory
1818
*
19-
* Creates and returns an instance of the appropriate DatabaseConnection
19+
* Creates and returns an instance of the appropriate Database Connection.
2020
*/
2121
class Database
2222
{
@@ -32,8 +32,7 @@ class Database
3232
protected $connections = [];
3333

3434
/**
35-
* Parses the connection binds and returns an instance of the driver
36-
* ready to go.
35+
* Parses the connection binds and creates a Database Connection instance.
3736
*
3837
* @return BaseConnection
3938
*
@@ -83,7 +82,7 @@ public function loadUtils(ConnectionInterface $db): BaseUtils
8382
}
8483

8584
/**
86-
* Parse universal DSN string
85+
* Parses universal DSN string
8786
*
8887
* @throws InvalidArgumentException
8988
*/

0 commit comments

Comments
 (0)