Commit a749be34 authored by Jens Segers's avatar Jens Segers

Fix docblocks, closes #723

parent fb1e4a02
...@@ -7,14 +7,14 @@ class Connection extends \Illuminate\Database\Connection ...@@ -7,14 +7,14 @@ class Connection extends \Illuminate\Database\Connection
/** /**
* The MongoDB database handler. * The MongoDB database handler.
* *
* @var MongoDB * @var \MongoDB\Database
*/ */
protected $db; protected $db;
/** /**
* The MongoDB connection handler. * The MongoDB connection handler.
* *
* @var MongoDB * @var \MongoDB\Client
*/ */
protected $connection; protected $connection;
...@@ -56,7 +56,7 @@ class Connection extends \Illuminate\Database\Connection ...@@ -56,7 +56,7 @@ class Connection extends \Illuminate\Database\Connection
* Begin a fluent query against a database collection. * Begin a fluent query against a database collection.
* *
* @param string $collection * @param string $collection
* @return QueryBuilder * @return Query\Builder
*/ */
public function collection($collection) public function collection($collection)
{ {
...@@ -71,7 +71,7 @@ class Connection extends \Illuminate\Database\Connection ...@@ -71,7 +71,7 @@ class Connection extends \Illuminate\Database\Connection
* Begin a fluent query against a database collection. * Begin a fluent query against a database collection.
* *
* @param string $table * @param string $table
* @return QueryBuilder * @return Query\Builder
*/ */
public function table($table) public function table($table)
{ {
...@@ -82,7 +82,7 @@ class Connection extends \Illuminate\Database\Connection ...@@ -82,7 +82,7 @@ class Connection extends \Illuminate\Database\Connection
* Get a MongoDB collection. * Get a MongoDB collection.
* *
* @param string $name * @param string $name
* @return MongoDB * @return Collection
*/ */
public function getCollection($name) public function getCollection($name)
{ {
...@@ -102,7 +102,7 @@ class Connection extends \Illuminate\Database\Connection ...@@ -102,7 +102,7 @@ class Connection extends \Illuminate\Database\Connection
/** /**
* Get the MongoDB database object. * Get the MongoDB database object.
* *
* @return MongoDB * @return \MongoDB\Database
*/ */
public function getMongoDB() public function getMongoDB()
{ {
...@@ -112,7 +112,7 @@ class Connection extends \Illuminate\Database\Connection ...@@ -112,7 +112,7 @@ class Connection extends \Illuminate\Database\Connection
/** /**
* return MongoDB object. * return MongoDB object.
* *
* @return MongoDB * @return \MongoDB\Client
*/ */
public function getMongoClient() public function getMongoClient()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment