Commit 775209cf authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #393

parents c1f6e23d a89811d6
...@@ -114,10 +114,10 @@ class ReadableStream ...@@ -114,10 +114,10 @@ class ReadableStream
} }
/** /**
* Return whether the current read position is at the end of the stream. * Return whether the current read position is at the end of the stream.
* *
* @return boolean * @return boolean
*/ */
public function isEOF() public function isEOF()
{ {
if ($this->chunkOffset === $this->numChunks - 1) { if ($this->chunkOffset === $this->numChunks - 1) {
......
...@@ -22,7 +22,6 @@ use MongoDB\BSON\ObjectId; ...@@ -22,7 +22,6 @@ 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 MongoDB\Exception\RuntimeException;
/** /**
* WritableStream abstracts the process of writing a GridFS file. * WritableStream abstracts the process of writing a GridFS file.
......
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