From f460c642e5520dd384924184476dc6d0efd095ee Mon Sep 17 00:00:00 2001 From: Ivo Smits Date: Thu, 22 Dec 2022 10:55:21 +0100 Subject: [PATCH] Fix a few MongoDB definitions in functionMap.php --- resources/functionMap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/functionMap.php b/resources/functionMap.php index 54ab61ed33..95fa54a357 100644 --- a/resources/functionMap.php +++ b/resources/functionMap.php @@ -6793,8 +6793,8 @@ 'MongoDB\Driver\ReadPreference::getTagSets' => ['array'], 'MongoDB\Driver\Server::__construct' => ['void', 'host'=>'string', 'port'=>'string', 'options='=>'array', 'driverOptions='=>'array'], 'MongoDB\Driver\Server::executeBulkWrite' => ['', 'namespace'=>'string', 'zwrite'=>'BulkWrite'], -'MongoDB\Driver\Server::executeCommand' => ['', 'db'=>'string', 'command'=>'Command'], -'MongoDB\Driver\Server::executeQuery' => ['', 'namespace'=>'string', 'zquery'=>'Query'], +'MongoDB\Driver\Server::executeCommand' => ['MongoDB\Driver\Cursor', 'db'=>'string', 'command'=>'MongoDB\Driver\Command', 'readPreference='=>'MongoDB\Driver\ReadPreference'], +'MongoDB\Driver\Server::executeQuery' => ['MongoDB\Driver\Cursor', 'namespace'=>'string', 'query'=>'MongoDB\Driver\Query', 'readPreference='=>'MongoDB\Driver\ReadPreference'], 'MongoDB\Driver\Server::getHost' => [''], 'MongoDB\Driver\Server::getInfo' => [''], 'MongoDB\Driver\Server::getLatency' => [''],