Skip to content

Commit 70c2b95

Browse files
committed
Document WriteConcern $w param as integer|string
1 parent 998c85b commit 70c2b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/WriteConcern.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ zend_object_handlers php_phongo_handler_writeconcern;
4848

4949
#define PHONGO_WRITE_CONCERN_W_MAJORITY "majority"
5050

51-
/* {{{ proto MongoDB\Driver\WriteConcern WriteConcern::__construct(string $wstring[, integer $wtimeout[, boolean $journal[, boolean $fsync]]])
51+
/* {{{ proto MongoDB\Driver\WriteConcern WriteConcern::__construct(integer|string $w[, integer $wtimeout[, boolean $journal[, boolean $fsync]]])
5252
Constructs a new WriteConcern */
5353
PHP_METHOD(WriteConcern, __construct)
5454
{

0 commit comments

Comments
 (0)