Skip to content

Commit a749be3

Browse files
committed
Fix docblocks, closes #723
1 parent fb1e4a0 commit a749be3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Jenssegers/Mongodb/Connection.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ class Connection extends \Illuminate\Database\Connection
77
/**
88
* The MongoDB database handler.
99
*
10-
* @var MongoDB
10+
* @var \MongoDB\Database
1111
*/
1212
protected $db;
1313

1414
/**
1515
* The MongoDB connection handler.
1616
*
17-
* @var MongoDB
17+
* @var \MongoDB\Client
1818
*/
1919
protected $connection;
2020

@@ -56,7 +56,7 @@ protected function getDefaultPostProcessor()
5656
* Begin a fluent query against a database collection.
5757
*
5858
* @param string $collection
59-
* @return QueryBuilder
59+
* @return Query\Builder
6060
*/
6161
public function collection($collection)
6262
{
@@ -71,7 +71,7 @@ public function collection($collection)
7171
* Begin a fluent query against a database collection.
7272
*
7373
* @param string $table
74-
* @return QueryBuilder
74+
* @return Query\Builder
7575
*/
7676
public function table($table)
7777
{
@@ -82,7 +82,7 @@ public function table($table)
8282
* Get a MongoDB collection.
8383
*
8484
* @param string $name
85-
* @return MongoDB
85+
* @return Collection
8686
*/
8787
public function getCollection($name)
8888
{
@@ -102,7 +102,7 @@ public function getSchemaBuilder()
102102
/**
103103
* Get the MongoDB database object.
104104
*
105-
* @return MongoDB
105+
* @return \MongoDB\Database
106106
*/
107107
public function getMongoDB()
108108
{
@@ -112,7 +112,7 @@ public function getMongoDB()
112112
/**
113113
* return MongoDB object.
114114
*
115-
* @return MongoDB
115+
* @return \MongoDB\Client
116116
*/
117117
public function getMongoClient()
118118
{

0 commit comments

Comments
 (0)