Commit 371d3b82 authored by Jeremy Mikola's avatar Jeremy Mikola

Prefer use statements over FQCNs in doc blocks

parent eec7ed6a
......@@ -19,6 +19,7 @@ namespace MongoDB\GridFS;
use MongoDB\BSON\UTCDateTime;
use Exception;
use stdClass;
/**
* Stream wrapper for reading and writing a GridFS file.
......@@ -41,7 +42,7 @@ class StreamWrapper
/**
* Return the stream's file document.
*
* @return \stdClass
* @return stdClass
*/
public function getFile()
{
......
......@@ -22,6 +22,7 @@ use MongoDB\BSON\ObjectId;
use MongoDB\BSON\UTCDateTime;
use MongoDB\Driver\Exception\RuntimeException as DriverRuntimeException;
use MongoDB\Exception\InvalidArgumentException;
use stdClass;
/**
* WritableStream abstracts the process of writing a GridFS file.
......@@ -141,7 +142,7 @@ class WritableStream
/**
* Return the stream's file document.
*
* @return \stdClass
* @return stdClass
*/
public function getFile()
{
......
......@@ -19,6 +19,7 @@ namespace MongoDB;
use IteratorAggregate;
use stdClass;
use Traversable;
/**
* Result class for mapReduce command results.
......@@ -77,7 +78,7 @@ class MapReduceResult implements IteratorAggregate
* Return the mapReduce results as a Traversable.
*
* @see http://php.net/iteratoraggregate.getiterator
* @return \Traversable
* @return Traversable
*/
public function getIterator()
{
......
......@@ -18,6 +18,7 @@
namespace MongoDB\Operation;
use MongoDB\ChangeStream as ChangeStreamResult;
use MongoDB\Driver\Command;
use MongoDB\Driver\Manager;
use MongoDB\Driver\ReadConcern;
use MongoDB\Driver\ReadPreference;
......@@ -165,7 +166,7 @@ class ChangeStream implements Executable
/**
* Create the aggregate pipeline with the changeStream command.
*
* @return \MongoDB\Driver\Command
* @return Command
*/
private function createCommand()
{
......
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