mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 12:55:26 +01:00
Merge pull request #9934 from alcaeus/mongodb-functions
Add call map entries for MongoDB functions
This commit is contained in:
commit
653ad669a0
@ -7060,6 +7060,14 @@ return [
|
||||
'MongoDB::setReadPreference' => ['bool', 'read_preference'=>'string', 'tags='=>'array'],
|
||||
'MongoDB::setSlaveOkay' => ['bool', 'ok='=>'bool'],
|
||||
'MongoDB::setWriteConcern' => ['bool', 'w'=>'mixed', 'wtimeout='=>'int'],
|
||||
'MongoDB\BSON\fromJSON' => ['string', 'json' => 'string'],
|
||||
'MongoDB\BSON\fromPHP' => ['string', 'value' => 'object|array'],
|
||||
'MongoDB\BSON\toCanonicalExtendedJSON' => ['string', 'bson' => 'string'],
|
||||
'MongoDB\BSON\toJSON' => ['string', 'bson' => 'string'],
|
||||
'MongoDB\BSON\toPHP' => ['object|array', 'bson' => 'string', 'typemap=' => '?array'],
|
||||
'MongoDB\BSON\toRelaxedExtendedJSON' => ['string', 'bson' => 'string'],
|
||||
'MongoDB\Driver\Monitoring\addSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
|
||||
'MongoDB\Driver\Monitoring\removeSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
|
||||
'MongoDB\BSON\Binary::__construct' => ['void', 'data' => 'string', 'type=' => 'int'],
|
||||
'MongoDB\BSON\Binary::getData' => ['string'],
|
||||
'MongoDB\BSON\Binary::getType' => ['int'],
|
||||
|
@ -3731,6 +3731,14 @@ return [
|
||||
'MongoDBRef::create' => ['array', 'collection'=>'string', 'id'=>'mixed', 'database='=>'string'],
|
||||
'MongoDBRef::get' => ['?array', 'db'=>'MongoDB', 'ref'=>'array'],
|
||||
'MongoDBRef::isRef' => ['bool', 'ref'=>'mixed'],
|
||||
'MongoDB\BSON\fromJSON' => ['string', 'json' => 'string'],
|
||||
'MongoDB\BSON\fromPHP' => ['string', 'value' => 'object|array'],
|
||||
'MongoDB\BSON\toCanonicalExtendedJSON' => ['string', 'bson' => 'string'],
|
||||
'MongoDB\BSON\toJSON' => ['string', 'bson' => 'string'],
|
||||
'MongoDB\BSON\toPHP' => ['object|array', 'bson' => 'string', 'typemap=' => '?array'],
|
||||
'MongoDB\BSON\toRelaxedExtendedJSON' => ['string', 'bson' => 'string'],
|
||||
'MongoDB\Driver\Monitoring\addSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
|
||||
'MongoDB\Driver\Monitoring\removeSubscriber' => ['void', 'subscriber' => 'MongoDB\Driver\Monitoring\Subscriber'],
|
||||
'MongoDB\BSON\Binary::__construct' => ['void', 'data' => 'string', 'type=' => 'int'],
|
||||
'MongoDB\BSON\Binary::getData' => ['string'],
|
||||
'MongoDB\BSON\Binary::getType' => ['int'],
|
||||
|
Loading…
Reference in New Issue
Block a user