Skip to content

Commit d279f38

Browse files
UCISondrejmirtes
authored andcommitted
Fix a few MongoDB definitions in functionMap.php
1 parent 091fcaf commit d279f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6793,8 +6793,8 @@
67936793
'MongoDB\Driver\ReadPreference::getTagSets' => ['array'],
67946794
'MongoDB\Driver\Server::__construct' => ['void', 'host'=>'string', 'port'=>'string', 'options='=>'array', 'driverOptions='=>'array'],
67956795
'MongoDB\Driver\Server::executeBulkWrite' => ['', 'namespace'=>'string', 'zwrite'=>'BulkWrite'],
6796-
'MongoDB\Driver\Server::executeCommand' => ['', 'db'=>'string', 'command'=>'Command'],
6797-
'MongoDB\Driver\Server::executeQuery' => ['', 'namespace'=>'string', 'zquery'=>'Query'],
6796+
'MongoDB\Driver\Server::executeCommand' => ['MongoDB\Driver\Cursor', 'db'=>'string', 'command'=>'MongoDB\Driver\Command', 'readPreference='=>'MongoDB\Driver\ReadPreference'],
6797+
'MongoDB\Driver\Server::executeQuery' => ['MongoDB\Driver\Cursor', 'namespace'=>'string', 'query'=>'MongoDB\Driver\Query', 'readPreference='=>'MongoDB\Driver\ReadPreference'],
67986798
'MongoDB\Driver\Server::getHost' => [''],
67996799
'MongoDB\Driver\Server::getInfo' => [''],
68006800
'MongoDB\Driver\Server::getLatency' => [''],

0 commit comments

Comments
 (0)