Skip to content

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Sep 15, 2015

@jmikola jmikola changed the title [WIP] PHPC-418: Getters for ReadPreference and WriteConcern properties PHPC-418: Getters for ReadPreference and WriteConcern properties Sep 16, 2015
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't that be getWTimeout ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

http://docs.mongodb.org/master/core/write-concern/ referred to it simply as wtimeout, and our constructor argument is also just $wtimeout, so I wasn't inclined to capitalize it.

For what it's worth, I also think getW() looks really weird.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@jmikola jmikola merged commit 4e01486 into mongodb:master Sep 17, 2015
jmikola added a commit that referenced this pull request Sep 17, 2015
@jmikola jmikola deleted the phpc-418 branch September 17, 2015 15:38
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