diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-28 23:00:44 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-30 14:26:45 +0200 |
commit | 0d330e1a022d536de8a679d11dc8ec6f9fd64be3 (patch) | |
tree | a4b93785096169cca4ba3bb9109040311b374944 /ext/intl/php_intl.stub.php | |
parent | 41de27ecc239e3a7de50446be297e288bb934505 (diff) | |
download | php-git-0d330e1a022d536de8a679d11dc8ec6f9fd64be3.tar.gz |
Add a few missing parameter types in stubs
Related to GH-5627
Diffstat (limited to 'ext/intl/php_intl.stub.php')
-rw-r--r-- | ext/intl/php_intl.stub.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/intl/php_intl.stub.php b/ext/intl/php_intl.stub.php index 9708f6d359..aa86364e60 100644 --- a/ext/intl/php_intl.stub.php +++ b/ext/intl/php_intl.stub.php @@ -366,6 +366,7 @@ function intltz_create_time_zone_id_enumeration(int $zoneType, ?string $region = function intltz_from_date_time_zone(DateTimeZone $zone): ?IntlTimeZone {} +/** @param bool $isSystemID */ function intltz_get_canonical_id(string $zoneId, &$isSystemID = null): string|false {} function intltz_get_display_name(IntlTimeZone $tz, bool $isDaylight = false, int $style = IntlTimeZone::DISPLAY_LONG, ?string $locale = null): string|false {} @@ -414,7 +415,7 @@ function transliterator_list_ids(): array|false {} function transliterator_create_inverse(Transliterator $orig_trans): ?Transliterator {} -/** @param Transliterator|string */ +/** @param Transliterator|string $transliterator */ function transliterator_transliterate($transliterator, string $subject, int $start = 0, int $end = -1): string|false {} function transliterator_get_error_code(Transliterator $trans): int|false {} |