summaryrefslogtreecommitdiff
path: root/ext/intl/calendar
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-10-13 20:03:00 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-10-16 10:56:33 +0200
commitd6264b09665c20ee73d7a1017db0730f9a7c7973 (patch)
treebb465d70db16df73ce28bcc1fadab1a57dd92c02 /ext/intl/calendar
parent3841ea338ef2508d467efef9ec45d03162ba695d (diff)
downloadphp-git-d6264b09665c20ee73d7a1017db0730f9a7c7973.tar.gz
Verify parameter names of function aliases
Closes GH-6335
Diffstat (limited to 'ext/intl/calendar')
-rw-r--r--ext/intl/calendar/calendar.stub.php4
-rw-r--r--ext/intl/calendar/calendar_arginfo.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/calendar/calendar.stub.php b/ext/intl/calendar/calendar.stub.php
index 8140737e13..ded7dfe45d 100644
--- a/ext/intl/calendar/calendar.stub.php
+++ b/ext/intl/calendar/calendar.stub.php
@@ -218,11 +218,11 @@ class IntlCalendar
public function isWeekend(?float $timestamp = null) {}
/**
- * @param int|bool $amountOrUpOrDown
+ * @param int|bool $value
* @return bool
* @alias intlcal_roll
*/
- public function roll(int $field, $amountOrUpOrDown) {}
+ public function roll(int $field, $value) {}
/**
* @return bool
diff --git a/ext/intl/calendar/calendar_arginfo.h b/ext/intl/calendar/calendar_arginfo.h
index a4818f6e14..29e0d4f908 100644
--- a/ext/intl/calendar/calendar_arginfo.h
+++ b/ext/intl/calendar/calendar_arginfo.h
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: cac6d4040481ab7de4775315079b1d28a44cbcac */
+ * Stub hash: ee755d4a500e2d1ba4d589c233b7d09a06b5cce8 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar___construct, 0, 0, 0)
ZEND_END_ARG_INFO()
@@ -106,7 +106,7 @@ ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_roll, 0, 0, 2)
ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
- ZEND_ARG_INFO(0, amountOrUpOrDown)
+ ZEND_ARG_INFO(0, value)
ZEND_END_ARG_INFO()
#define arginfo_class_IntlCalendar_isSet arginfo_class_IntlCalendar_get