summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-01-18 14:35:44 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-18 14:39:32 +0100
commit39077deea5cc4ad79b22e8fc238893506b1a2223 (patch)
treed3e134d334737d8b24d8e37b5427e117a3170f3f
parentc31f9f7ee4fcdc07d367c41d3645e0fe3870704c (diff)
downloadphp-git-39077deea5cc4ad79b22e8fc238893506b1a2223.tar.gz
Sync intlcal_create_instance() and IntlCalendar::createInstance()
Remove the explicit mention of IntlGregorianCalendar in the latter. It is a subclass of IntlCalendar, and as such covered if only IntlCalendar is used as the return type.
-rw-r--r--ext/intl/calendar/calendar.stub.php2
-rw-r--r--ext/intl/calendar/calendar_arginfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/calendar/calendar.stub.php b/ext/intl/calendar/calendar.stub.php
index ded7dfe45d..3da6ebb1d0 100644
--- a/ext/intl/calendar/calendar.stub.php
+++ b/ext/intl/calendar/calendar.stub.php
@@ -8,7 +8,7 @@ class IntlCalendar
/**
* @param IntlTimeZone|DateTimeZone|string|null $timezone
- * @return IntlCalendar|IntlGregorianCalendar|null
+ * @return IntlCalendar|null
* @alias intlcal_create_instance
*/
public static function createInstance($timezone = null, ?string $locale = null) {}
diff --git a/ext/intl/calendar/calendar_arginfo.h b/ext/intl/calendar/calendar_arginfo.h
index 29e0d4f908..8537836d5b 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: ee755d4a500e2d1ba4d589c233b7d09a06b5cce8 */
+ * Stub hash: 18a92d3af801f11e5c3b90e5d272fd98b3515c40 */
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar___construct, 0, 0, 0)
ZEND_END_ARG_INFO()