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
af2affc2
Commit
af2affc2
authored
Oct 28, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PHPLIB-197: Fix typo in uploadFromStream() docs
parent
4955333a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Bucket.php
src/GridFS/Bucket.php
+2
-3
No files found.
src/GridFS/Bucket.php
View file @
af2affc2
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
namespace
MongoDB\GridFS
;
namespace
MongoDB\GridFS
;
use
MongoDB\BSON\ObjectId
;
use
MongoDB\Driver\Cursor
;
use
MongoDB\Driver\Cursor
;
use
MongoDB\Driver\Manager
;
use
MongoDB\Driver\Manager
;
use
MongoDB\Driver\ReadConcern
;
use
MongoDB\Driver\ReadConcern
;
...
@@ -256,7 +255,7 @@ class Bucket
...
@@ -256,7 +255,7 @@ class Bucket
* Gets the file document's ID of the GridFS file associated with a stream.
* Gets the file document's ID of the GridFS file associated with a stream.
*
*
* @param resource $stream GridFS stream
* @param resource $stream GridFS stream
* @return
stdClass
* @return
mixed
* @throws CorruptFileException
* @throws CorruptFileException
* @throws InvalidArgumentException
* @throws InvalidArgumentException
*/
*/
...
@@ -404,7 +403,7 @@ class Bucket
...
@@ -404,7 +403,7 @@ class Bucket
* @param string $filename Filename
* @param string $filename Filename
* @param resource $source Readable stream
* @param resource $source Readable stream
* @param array $options Stream options
* @param array $options Stream options
* @return
ObjectI
d ID of the newly created GridFS file
* @return
mixe
d ID of the newly created GridFS file
* @throws InvalidArgumentException if $source is not a stream
* @throws InvalidArgumentException if $source is not a stream
*/
*/
public
function
uploadFromStream
(
$filename
,
$source
,
array
$options
=
[])
public
function
uploadFromStream
(
$filename
,
$source
,
array
$options
=
[])
...
...
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