Commit 3b6ad58d authored by Jeremy Mikola's avatar Jeremy Mikola

Fix DatabaseCommand::execute() return type hint

parent b3286bd6
......@@ -3,6 +3,7 @@
namespace MongoDB\Operation;
use MongoDB\Driver\Command;
use MongoDB\Driver\Cursor;
use MongoDB\Driver\ReadPreference;
use MongoDB\Driver\Server;
use MongoDB\Exception\InvalidArgumentException;
......@@ -62,7 +63,7 @@ class DatabaseCommand implements Executable
*
* @see Executable::execute()
* @param Server $server
* @return integer
* @return Cursor
*/
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