Skip to content

Fix signature for MongoDB\Driver\ReadPreference constructor#150

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
Baldinof:patch-1
Mar 2, 2020
Merged

Fix signature for MongoDB\Driver\ReadPreference constructor#150
ondrejmirtes merged 1 commit intophpstan:masterfrom
Baldinof:patch-1

Conversation

@Baldinof
Copy link
Copy Markdown
Contributor

@Baldinof Baldinof commented Mar 2, 2020

Hi,

The first argument name is mode and accepts string|int, see https://www.php.net/manual/mongodb-driver-readpreference.construct.php

@ondrejmirtes ondrejmirtes merged commit 94bff9b into phpstan:master Mar 2, 2020
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you :)

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.

2 participants