Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update functionMap for ext-mongodb 1.16 #2473

Merged
merged 1 commit into from
Jun 22, 2023

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
371 of 379 checks passed
@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
3 participants