Skip to content

Commit 0c468b6

Browse files
committed
Fix wrong parameter type in Server::executeBulkWrite
1 parent 269550a commit 0c468b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/Server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static PHP_METHOD(Server, executeBulkWrite)
200200
Z_PARAM_STRING(namespace, namespace_len)
201201
Z_PARAM_OBJECT_OF_CLASS(zbulk, php_phongo_bulkwrite_ce)
202202
Z_PARAM_OPTIONAL
203-
Z_PARAM_ARRAY_OR_NULL(options)
203+
Z_PARAM_ZVAL_OR_NULL(options)
204204
PHONGO_PARSE_PARAMETERS_END();
205205

206206
bulk = Z_BULKWRITE_OBJ_P(zbulk);

0 commit comments

Comments
 (0)