diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2019-11-16 18:40:06 +0100 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-11-18 12:44:38 +0100 |
| commit | c58b12334df9980b8832925c3920b992593eb09a (patch) | |
| tree | 5fdd2cf1e7b767562d6502e86c272ce9d989b82b /ext/intl/timezone/timezone.stub.php | |
| parent | 100552d4b5f648e0d6548c5e7393f8d7c10f0acb (diff) | |
| download | php-git-c58b12334df9980b8832925c3920b992593eb09a.tar.gz | |
Add union return types with one class
Diffstat (limited to 'ext/intl/timezone/timezone.stub.php')
| -rw-r--r-- | ext/intl/timezone/timezone.stub.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/intl/timezone/timezone.stub.php b/ext/intl/timezone/timezone.stub.php index 2a9a2be39c..06f5424aa4 100644 --- a/ext/intl/timezone/timezone.stub.php +++ b/ext/intl/timezone/timezone.stub.php @@ -93,8 +93,7 @@ function intltz_create_enumeration($countryOrRawOffset = null) {} function intltz_create_time_zone(string $zoneId): ?IntlTimeZone {} -/** @return IntlIterator|false */ -function intltz_create_time_zone_id_enumeration(int $zoneType, ?string $region = null, ?int $rawOffset = null) {} +function intltz_create_time_zone_id_enumeration(int $zoneType, ?string $region = null, ?int $rawOffset = null): IntlIterator|false {} function intltz_from_date_time_zone(DateTimeZone $zone): ?IntlTimeZone {} @@ -132,7 +131,6 @@ function intltz_get_id_for_windows_id(string $timezone, string $region = UNKNOWN function intltz_has_same_rules(IntlTimeZone $tz, IntlTimeZone $otherTimeZone): bool {} -/** @return DateTimeZone|false */ -function intltz_to_date_time_zone(IntlTimeZone $tz) {} +function intltz_to_date_time_zone(IntlTimeZone $tz): DateTimeZone|false {} function intltz_use_daylight_time(IntlTimeZone $tz): bool {} |
