Commit af2affc2 authored by Jeremy Mikola's avatar Jeremy Mikola

PHPLIB-197: Fix typo in uploadFromStream() docs

parent 4955333a
...@@ -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 ObjectId ID of the newly created GridFS file * @return mixed 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 = [])
......
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