summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-04-06 16:36:06 +0200
committerRemi Collet <remi@remirepo.net>2020-04-06 16:36:06 +0200
commitbaf912d23ef8e94a054026027c493f3cb09175ee (patch)
treefe6e2aae2214802d839ad2157ead359fb9051d7f /rpminfo.c
parent1e01976460c4e6b10de9a26e486ab2b2871cbff4 (diff)
minor fix for arginfo
Diffstat (limited to 'rpminfo.c')
-rw-r--r--rpminfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpminfo.c b/rpminfo.c
index a076cf9..3d0489d 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -527,9 +527,9 @@ PHP_FUNCTION(rpmvercmp)
/* }}} */
#if PHP_VERSION_ID < 70200
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmaddtag, 0, 2, _IS_BOOL, NULL, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmaddtag, 0, 1, _IS_BOOL, NULL, 0)
#else
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmaddtag, 0, 2, _IS_BOOL, 0)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmaddtag, 0, 1, _IS_BOOL, 0)
#endif
ZEND_ARG_TYPE_INFO(0, rpmtag, IS_LONG, 0)
ZEND_END_ARG_INFO()