Skip to content

Commit 607bc9f

Browse files
committed
Update stubs
1 parent 555877e commit 607bc9f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?php
22

33
/** @param IntlTimeZone|string|int|float|null $countryOrRawOffset */
4+
#[\Until('8.5')]
45
function intltz_create_enumeration($countryOrRawOffset = null): \IntlIterator|false
56
{
7+
}
8+
#[\Since('8.5')]
9+
function intltz_create_enumeration(string|int|null $countryOrRawOffset = null): \IntlIterator|false
10+
{
611
}

stubs/ext/intl/timezone/IntlTimeZone.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,22 @@ public static function createDefault()
100100
{
101101
}
102102
/**
103-
* @param (IntlTimeZone | string | int | float | null) $countryOrRawOffset
104103
* @tentative-return-type
105104
* @alias intltz_create_enumeration
106105
* @return (IntlIterator | false)
107106
*/
107+
#[\Until('8.5')]
108108
public static function createEnumeration($countryOrRawOffset = null)
109109
{
110110
}
111+
/**
112+
* @tentative-return-type
113+
* @alias intltz_create_enumeration
114+
*/
115+
#[\Since('8.5')]
116+
public static function createEnumeration(string|int|null $countryOrRawOffset = null)
117+
{
118+
}
111119
/**
112120
* @tentative-return-type
113121
* @alias intltz_create_time_zone

0 commit comments

Comments
 (0)