Skip to content

Commit 39077de

Browse files
committed
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.
1 parent c31f9f7 commit 39077de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/intl/calendar/calendar.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ private function __construct() {}
88

99
/**
1010
* @param IntlTimeZone|DateTimeZone|string|null $timezone
11-
* @return IntlCalendar|IntlGregorianCalendar|null
11+
* @return IntlCalendar|null
1212
* @alias intlcal_create_instance
1313
*/
1414
public static function createInstance($timezone = null, ?string $locale = null) {}

ext/intl/calendar/calendar_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: ee755d4a500e2d1ba4d589c233b7d09a06b5cce8 */
2+
* Stub hash: 18a92d3af801f11e5c3b90e5d272fd98b3515c40 */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar___construct, 0, 0, 0)
55
ZEND_END_ARG_INFO()

0 commit comments

Comments
 (0)