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