Skip to content

Commit 56b0d6f

Browse files
committed
Wrong arginfo on assert
(not adding types, just fixing a missing arg)
1 parent 517196b commit 56b0d6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/standard/basic_functions.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,8 +836,9 @@ ZEND_END_ARG_INFO()
836836
#endif
837837
/* }}} */
838838
/* {{{ assert.c */
839-
ZEND_BEGIN_ARG_INFO(arginfo_assert, 0)
839+
ZEND_BEGIN_ARG_INFO_EX(arginfo_assert, 0, 0, 1)
840840
ZEND_ARG_INFO(0, assertion)
841+
ZEND_ARG_INFO(0, description)
841842
ZEND_END_ARG_INFO()
842843

843844
ZEND_BEGIN_ARG_INFO_EX(arginfo_assert_options, 0, 0, 1)

0 commit comments

Comments
 (0)