Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
371d3b82
Commit
371d3b82
authored
Jan 29, 2018
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer use statements over FQCNs in doc blocks
parent
eec7ed6a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
StreamWrapper.php
src/GridFS/StreamWrapper.php
+2
-1
WritableStream.php
src/GridFS/WritableStream.php
+2
-1
MapReduceResult.php
src/MapReduceResult.php
+2
-1
ChangeStream.php
src/Operation/ChangeStream.php
+2
-1
No files found.
src/GridFS/StreamWrapper.php
View file @
371d3b82
...
...
@@ -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
()
{
...
...
src/GridFS/WritableStream.php
View file @
371d3b82
...
...
@@ -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
()
{
...
...
src/MapReduceResult.php
View file @
371d3b82
...
...
@@ -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
()
{
...
...
src/Operation/ChangeStream.php
View file @
371d3b82
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment