Skip to content

Commit 9e68462

Browse files
committed
Fix arg info for $options in Query ctor, which may be null
1 parent 368e823 commit 9e68462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MongoDB/Query.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ PHP_METHOD(Query, __construct)
107107

108108
ZEND_BEGIN_ARG_INFO_EX(ai_Query___construct, 0, 0, 1)
109109
ZEND_ARG_INFO(0, filter)
110-
ZEND_ARG_ARRAY_INFO(0, options, 0)
110+
ZEND_ARG_ARRAY_INFO(0, options, 1)
111111
ZEND_END_ARG_INFO()
112112

113113
ZEND_BEGIN_ARG_INFO_EX(ai_Query_void, 0, 0, 0)

0 commit comments

Comments
 (0)