Skip to content

Update functionMap for ext-mongodb 1.16#2473

Merged
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
alcaeus:mongodb-1.16-stubs
Jun 22, 2023
Merged

Update functionMap for ext-mongodb 1.16#2473
ondrejmirtes merged 1 commit intophpstan:1.10.xfrom
alcaeus:mongodb-1.16-stubs

Conversation

@alcaeus
Copy link
Copy Markdown
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
Copy Markdown
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