summaryrefslogtreecommitdiffstats
path: root/rpminfo.c
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-25 08:25:12 +0100
committerRemi Collet <remi@remirepo.net>2020-03-25 08:25:12 +0100
commit039315bf493bda2fdcc2031d383e49c3030bc462 (patch)
tree740f8a9cf31302df3f69e6400952f416c6b24949 /rpminfo.c
parent5c0fde6d380399a5115320e3a7855cf6c7abb540 (diff)
better parameter name in reflection
Diffstat (limited to 'rpminfo.c')
-rw-r--r--rpminfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpminfo.c b/rpminfo.c
index 7ca3e08..11f8ace 100644
--- a/rpminfo.c
+++ b/rpminfo.c
@@ -184,7 +184,7 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpminfo, 0, 1, IS_ARRAY, NULL, 1
#else
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpminfo, 0, 1, IS_ARRAY, 1)
#endif
- ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, path, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, full, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(1, error, IS_STRING, 1)
ZEND_END_ARG_INFO()
@@ -252,11 +252,11 @@ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmdbinfo, 0, 1, IS_ARRAY, NULL,
#else
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_rpmdbinfo, 0, 1, IS_ARRAY, 1)
#endif
- ZEND_ARG_TYPE_INFO(0, name, IS_STRING, 0)
+ ZEND_ARG_TYPE_INFO(0, nevr, IS_STRING, 0)
ZEND_ARG_TYPE_INFO(0, full, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
-/* {{{ proto array rpmdbinfo(string name [, bool full])
+/* {{{ proto array rpmdbinfo(string nevr [, bool full])
Retrieve information from an installed RPM */
PHP_FUNCTION(rpmdbinfo)
{