Skip to content

Commit 03c8f81

Browse files
jmikolaalcaeus
authored andcommitted
PHPC-1693: Fix MongoDB\BSON\Regex::__construct() arginfo
1 parent d785d5e commit 03c8f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BSON/Regex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static PHP_METHOD(Regex, unserialize)
257257
} /* }}} */
258258

259259
/* {{{ MongoDB\BSON\Regex function entries */
260-
ZEND_BEGIN_ARG_INFO_EX(ai_Regex___construct, 0, 0, 2)
260+
ZEND_BEGIN_ARG_INFO_EX(ai_Regex___construct, 0, 0, 1)
261261
ZEND_ARG_INFO(0, pattern)
262262
ZEND_ARG_INFO(0, flags)
263263
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)