diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-07 16:48:39 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-08-07 16:48:45 +0200 |
| commit | 046cc5e4c213b836546689d5bdc8925f057c24b5 (patch) | |
| tree | 2fc60163e4d8a588203483ad3094d339fe246799 /ext/intl/php_intl.stub.php | |
| parent | 7b9f37c3893a9a1c942a04a09c9e6b172c4af80b (diff) | |
| download | php-git-046cc5e4c213b836546689d5bdc8925f057c24b5.tar.gz | |
Add another round of missing parameter types to stubs
Closes GH-5950
Diffstat (limited to 'ext/intl/php_intl.stub.php')
| -rw-r--r-- | ext/intl/php_intl.stub.php | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/ext/intl/php_intl.stub.php b/ext/intl/php_intl.stub.php index bbb09d03c8..8cb198e7d6 100644 --- a/ext/intl/php_intl.stub.php +++ b/ext/intl/php_intl.stub.php @@ -98,7 +98,14 @@ function intlcal_get_error_code(IntlCalendar $calendar): int|false {} function intlcal_get_error_message(IntlCalendar $calendar): string|false {} -/** @param IntlTimeZone|DateTimeZone|string|null $timeZone */ +/** + * @param DateTimeZone|IntlTimeZone|string|int|null $timeZoneOrYear + * @param string|int|null $localeOrMonth + * @param int $dayOfMonth + * @param int $hour + * @param int $minute + * @param int $second + */ function intlgregcal_create_instance($timeZoneOrYear = UNKNOWN, $localeOrMonth = UNKNOWN, $dayOfMonth = UNKNOWN, $hour = UNKNOWN, $minute = UNKNOWN, $second = UNKNOWN): ?IntlGregorianCalendar {} function intlgregcal_set_gregorian_change(IntlGregorianCalendar $calendar, float $change): bool {} @@ -393,6 +400,10 @@ function intltz_get_gmt(): IntlTimeZone {} function intltz_get_id(IntlTimeZone $tz): string|false {} +/** + * @param int $rawOffset + * @param int $dstOffset + */ function intltz_get_offset(IntlTimeZone $tz, float $date, bool $local, &$rawOffset, &$dstOffset): bool {} function intltz_get_raw_offset(IntlTimeZone $tz): int {} |
