Skip to content

Commit b129c9a

Browse files
committed
stubs
1 parent 351046e commit b129c9a

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

ext/intl/dateformat/dateformat.stub.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,26 @@ class IntlDateFormatter
3232
public const int TRADITIONAL = UNKNOWN;
3333

3434
/**
35-
* @param IntlTimeZone|DateTimeZone|string|null $timezone
3635
* @param IntlCalendar|int|null $calendar
3736
*/
3837
public function __construct(
3938
?string $locale,
4039
int $dateType = IntlDateFormatter::FULL,
4140
int $timeType = IntlDateFormatter::FULL,
42-
$timezone = null,
41+
IntlTimeZone|DateTimeZone|string|null $timezone = null,
4342
$calendar = null,
4443
?string $pattern = null
4544
) {}
4645

4746
/**
48-
* @param IntlTimeZone|DateTimeZone|string|null $timezone
4947
* @tentative-return-type
5048
* @alias datefmt_create
5149
*/
5250
public static function create(
5351
?string $locale,
5452
int $dateType = IntlDateFormatter::FULL,
5553
int $timeType = IntlDateFormatter::FULL,
56-
$timezone = null,
54+
IntlTimeZone|DateTimeZone|string|null $timezone = null,
5755
IntlCalendar|int|null $calendar = null,
5856
?string $pattern = null
5957
): ?IntlDateFormatter {}

ext/intl/dateformat/dateformat_arginfo.h

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)