Skip to content

Commit 195036c

Browse files
committed
Fix arginfo: $version is a required parameter
1 parent a3663b4 commit 195036c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ast.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,12 +1118,12 @@ PHP_METHOD(ast_Node, __construct) {
11181118
}
11191119
}
11201120

1121-
ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_file, 0, 0, 1)
1121+
ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_file, 0, 0, 2)
11221122
ZEND_ARG_INFO(0, filename)
11231123
ZEND_ARG_INFO(0, version)
11241124
ZEND_END_ARG_INFO()
11251125

1126-
ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_code, 0, 0, 1)
1126+
ZEND_BEGIN_ARG_INFO_EX(arginfo_parse_code, 0, 0, 2)
11271127
ZEND_ARG_INFO(0, code)
11281128
ZEND_ARG_INFO(0, version)
11291129
ZEND_ARG_INFO(0, filename)

0 commit comments

Comments
 (0)