@@ -55,7 +55,6 @@ class MongoDB
* @param MongoClient $conn Database connection.
* @param string $name Database name.
* @throws Exception
- * @return MongoDB Returns the database.
*/
public function __construct(MongoClient $conn, $name)
{
@@ -36,7 +36,6 @@ class MongoDate implements TypeInterface
* @link http://php.net/manual/en/mongodate.construct.php
* @param int $sec Number of seconds since January 1st, 1970
* @param int $usec Microseconds
- * @return MongoDate Returns this new date
public function __construct($sec = 0, $usec = 0)
@@ -54,7 +54,6 @@ class MongoGridFS extends MongoCollection
* @param MongoDB $db Database
* @param string $prefix [optional] <p>Optional collection name prefix.</p>
* @param mixed $chunks [optional]
- * @return MongoGridFS
* @throws \Exception
public function __construct(MongoDB $db, $prefix = "fs", $chunks = null)
@@ -36,7 +36,6 @@ class MongoGridFSCursor extends MongoCursor
* @param string $ns Full name of database and collection
* @param array $query Database query
* @param array $fields Fields to return
- * @return MongoGridFSCursor Returns the new cursor
public function __construct(MongoGridFS $gridfs, MongoClient $connection, $ns, array $query = array(), array $fields = array())
@@ -32,7 +32,6 @@ class MongoGridFSFile
*
* @param MongoGridFS $gridfs The parent MongoGridFS instance
* @param array $file A file from the database
- * @return MongoGridFSFile Returns a new MongoGridFSFile
public function __construct(MongoGridFS $gridfs, array $file)
@@ -29,7 +29,6 @@ class MongoId implements Serializable, TypeInterface
* @link http://www.php.net/manual/en/mongoid.construct.php
* @param string $id [optional] A string to use as the id. Must be 24 hexidecimal characters. If an invalid string is passed to this constructor, the constructor will ignore it and create a new id value.
- * @return MongoId
* @throws MongoException
@@ -33,7 +33,6 @@ class MongoRegex implements TypeInterface
* @link http://php.net/manual/en/mongoregex.construct.php
* @param string|Regex $regex Regular expression string of the form /expr/flags
- * @return MongoRegex Returns a new regular expression
public function __construct($regex)