We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e1221 commit 31a8e20Copy full SHA for 31a8e20
src/GridFS/Bucket.php
@@ -204,7 +204,7 @@ public function drop()
204
* @param array $options Additional options
205
* @return Cursor
206
*/
207
- public function find($filter, array $options = [])
+ public function find($filter = [], array $options = [])
208
{
209
return $this->collectionWrapper->findFiles($filter, $options);
210
}
0 commit comments