Skip to content

Commit 3ce6205

Browse files
jmikoladerickr
authored andcommitted
PHPC-397: Additional RETURN_STRING updates
1 parent f2e9953 commit 3ce6205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MongoDB/WriteConcern.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ PHP_METHOD(WriteConcern, getW)
121121
wtag = mongoc_write_concern_get_wtag(intern->write_concern);
122122

123123
if (wtag) {
124-
RETURN_STRING(wtag, 1);
124+
PHONGO_RETURN_STRING(wtag);
125125
}
126126

127127
if (mongoc_write_concern_get_wmajority(intern->write_concern)) {
128-
RETURN_STRING(PHONGO_WRITE_CONCERN_W_MAJORITY, 1);
128+
PHONGO_RETURN_STRING(PHONGO_WRITE_CONCERN_W_MAJORITY);
129129
}
130130

131131
if (intern->write_concern->w != MONGOC_WRITE_CONCERN_W_DEFAULT) {

0 commit comments

Comments
 (0)