Skip to content

Conversation

alcaeus
Copy link
Contributor

@alcaeus alcaeus commented Jun 20, 2023

This PR updates the function map to include method signatures for ext-mongodb 1.16.

Notable changes:

  • Added MongoDB\BSON\Document, MongoDB\BSON\Iterator, and MongoDB\BSON\PackedArray classes
  • Made constructor for MongoDB\BSON\Int64 public
  • Added MongoDB\Driver\ClientEncryption::encryptExpression
  • Added MongoDB\Driver\WriteResult::getErrorReplies

In addition to the changes above, this also adds a number of entries that were previously missing, especially in the MongoDB\BSON namespace.

@ondrejmirtes ondrejmirtes merged commit 5b89916 into phpstan:1.10.x Jun 22, 2023
@ondrejmirtes
Copy link
Member

Thank you!

@alcaeus alcaeus deleted the mongodb-1.16-stubs branch June 28, 2023 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants