Commit f8929259 authored by Jeremy Mikola's avatar Jeremy Mikola

Clean up exception docs and use statements

parent 8f646a38
...@@ -157,6 +157,7 @@ class Aggregate implements Executable ...@@ -157,6 +157,7 @@ class Aggregate implements Executable
* @see Executable::execute() * @see Executable::execute()
* @param Server $server * @param Server $server
* @return Traversable * @return Traversable
* @throws UnexpectedValueException if the command response was malformed
*/ */
public function execute(Server $server) public function execute(Server $server)
{ {
......
...@@ -102,6 +102,7 @@ class Count implements Executable ...@@ -102,6 +102,7 @@ class Count implements Executable
* @see Executable::execute() * @see Executable::execute()
* @param Server $server * @param Server $server
* @return integer * @return integer
* @throws UnexpectedValueException if the command response was malformed
*/ */
public function execute(Server $server) public function execute(Server $server)
{ {
......
...@@ -79,6 +79,7 @@ class Distinct implements Executable ...@@ -79,6 +79,7 @@ class Distinct implements Executable
* @see Executable::execute() * @see Executable::execute()
* @param Server $server * @param Server $server
* @return mixed[] * @return mixed[]
* @throws UnexpectedValueException if the command response was malformed
*/ */
public function execute(Server $server) public function execute(Server $server)
{ {
......
...@@ -7,8 +7,6 @@ use MongoDB\Driver\ReadConcern; ...@@ -7,8 +7,6 @@ use MongoDB\Driver\ReadConcern;
use MongoDB\Driver\ReadPreference; use MongoDB\Driver\ReadPreference;
use MongoDB\Driver\Server; use MongoDB\Driver\Server;
use MongoDB\Exception\InvalidArgumentException; use MongoDB\Exception\InvalidArgumentException;
use MongoDB\Exception\RuntimeException;
use MongoDB\Exception\UnexpectedValueException;
/** /**
* Operation for the find command. * Operation for the find command.
......
...@@ -130,6 +130,7 @@ class FindAndModify implements Executable ...@@ -130,6 +130,7 @@ class FindAndModify implements Executable
* @see Executable::execute() * @see Executable::execute()
* @param Server $server * @param Server $server
* @return object|null * @return object|null
* @throws UnexpectedValueException if the command response was malformed
*/ */
public function execute(Server $server) public function execute(Server $server)
{ {
......
...@@ -5,7 +5,6 @@ namespace MongoDB\Operation; ...@@ -5,7 +5,6 @@ namespace MongoDB\Operation;
use MongoDB\Driver\Command; use MongoDB\Driver\Command;
use MongoDB\Driver\Query; use MongoDB\Driver\Query;
use MongoDB\Driver\Server; use MongoDB\Driver\Server;
use MongoDB\Exception\RuntimeException;
use MongoDB\Exception\InvalidArgumentException; use MongoDB\Exception\InvalidArgumentException;
use MongoDB\Model\CollectionInfoCommandIterator; use MongoDB\Model\CollectionInfoCommandIterator;
use MongoDB\Model\CollectionInfoIterator; use MongoDB\Model\CollectionInfoIterator;
......
...@@ -46,6 +46,7 @@ class ListDatabases implements Executable ...@@ -46,6 +46,7 @@ class ListDatabases implements Executable
* @see Executable::execute() * @see Executable::execute()
* @param Server $server * @param Server $server
* @return DatabaseInfoIterator * @return DatabaseInfoIterator
* @throws UnexpectedValueException if the command response was malformed
*/ */
public function execute(Server $server) public function execute(Server $server)
{ {
......
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