Skip to content

Commit e52dec7

Browse files
Andrei Ivchenkovondrejmirtes
Andrei Ivchenkov
authored andcommitted
fix MongoCollection::save() return type
1 parent 701a3b4 commit e52dec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: resources/functionMap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6604,7 +6604,7 @@
66046604
'MongoCollection::insert' => ['bool|array', 'a'=>'array', 'options='=>'array'],
66056605
'MongoCollection::parallelCollectionScan' => ['MongoCommandCursor[]', 'num_cursors'=>'int'],
66066606
'MongoCollection::remove' => ['bool|array', 'criteria='=>'array', 'options='=>'array'],
6607-
'MongoCollection::save' => ['mixed', 'a'=>'array', 'options='=>'array'],
6607+
'MongoCollection::save' => ['mixed', 'a'=>'array|object', 'options='=>'array'],
66086608
'MongoCollection::setReadPreference' => ['bool', 'read_preference'=>'string', 'tags='=>'array'],
66096609
'MongoCollection::setSlaveOkay' => ['bool', 'ok='=>'bool'],
66106610
'MongoCollection::setWriteConcern' => ['bool', 'w'=>'mixed', 'wtimeout='=>'int'],

0 commit comments

Comments
 (0)