We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79469c4 commit 743eaafCopy full SHA for 743eaaf
src/MongoDB/Session.c
@@ -367,7 +367,7 @@ static PHP_METHOD(Session, startTransaction)
367
intern = Z_SESSION_OBJ_P(getThis());
368
SESSION_CHECK_LIVELINESS(intern, "startTransaction")
369
370
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a", &options) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!", &options) == FAILURE) {
371
return;
372
}
373
0 commit comments