Skip to content

Commit 3827a51

Browse files
committed
Tweaked documentation
1 parent b16b929 commit 3827a51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Jenssegers/Mongodb/Connection.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(array $config)
4343
}
4444

4545
/**
46-
* Return a new QueryBuilder for a collection
46+
* Begin a fluent query against a database collection.
4747
*
4848
* @param string $collection
4949
* @return QueryBuilder
@@ -56,7 +56,7 @@ public function collection($collection)
5656
}
5757

5858
/**
59-
* Begin a fluent query against a database table.
59+
* Begin a fluent query against a database collection.
6060
*
6161
* @param string $table
6262
* @return QueryBuilder
@@ -107,7 +107,7 @@ public function getMongoClient()
107107
*/
108108
protected function createConnection($dsn, array $config, array $options)
109109
{
110-
// Add credentials as options, this make sure the connection will not fail if
110+
// Add credentials as options, this makes sure the connection will not fail if
111111
// the username or password contains strange characters.
112112
if (isset($config['username']) && $config['username'])
113113
{

0 commit comments

Comments
 (0)