From: Nikita Popov Date: Mon, 18 Jan 2021 13:38:53 +0000 (+0100) Subject: Sync datefmt_get_calendar_object signature X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebf461a025411834cf417e50163c2b334123f66e;p=php Sync datefmt_get_calendar_object signature In this case, it's only a matter of using the same type order in both cases. --- diff --git a/ext/intl/dateformat/dateformat.stub.php b/ext/intl/dateformat/dateformat.stub.php index 032a04c6fa..22ece903c1 100644 --- a/ext/intl/dateformat/dateformat.stub.php +++ b/ext/intl/dateformat/dateformat.stub.php @@ -48,7 +48,7 @@ class IntlDateFormatter public function getTimeZoneId() {} /** - * @return IntlCalendar|null|false + * @return IntlCalendar|false|null * @alias datefmt_get_calendar_object */ public function getCalendarObject() {} diff --git a/ext/intl/dateformat/dateformat_arginfo.h b/ext/intl/dateformat/dateformat_arginfo.h index d406fce6ed..ff9fbfa6fd 100644 --- a/ext/intl/dateformat/dateformat_arginfo.h +++ b/ext/intl/dateformat/dateformat_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 437726f2d61a93d530e7e3b6df0741ae68c64697 */ + * Stub hash: 62742b5f463272f43970e98900a89d513c4fb839 */ ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlDateFormatter___construct, 0, 0, 3) ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 1)