diff options
| author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-08 11:10:56 +0200 |
|---|---|---|
| committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-06-09 09:46:51 +0200 |
| commit | 596561009c8d7208db1b6506b68d92eefb11e6a2 (patch) | |
| tree | c9d718d87865660edc815b77f68ba9baa0ad9e30 /ext/intl/php_intl.stub.php | |
| parent | cadcefc956fd94a12580f7484caef91116456731 (diff) | |
| download | php-git-596561009c8d7208db1b6506b68d92eefb11e6a2.tar.gz | |
Fix some UNKNOWN default values
In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl
Diffstat (limited to 'ext/intl/php_intl.stub.php')
| -rw-r--r-- | ext/intl/php_intl.stub.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/php_intl.stub.php b/ext/intl/php_intl.stub.php index f1caad8429..337a79c71a 100644 --- a/ext/intl/php_intl.stub.php +++ b/ext/intl/php_intl.stub.php @@ -175,7 +175,7 @@ function datefmt_set_pattern(IntlDateFormatter $df, string $pattern): bool {} function datefmt_get_pattern(IntlDateFormatter $df): string|false {} -function datefmt_get_locale(IntlDateFormatter $df, int $which = UNKNOWN): string|false {} +function datefmt_get_locale(IntlDateFormatter $df, int $which = ULOC_ACTUAL_LOCALE): string|false {} function datefmt_set_lenient(IntlDateFormatter $df, bool $lenient): void {} @@ -395,7 +395,7 @@ function intltz_get_unknown(): IntlTimeZone {} #if U_ICU_VERSION_MAJOR_NUM >= 52 function intltz_get_windows_id(string $timezone): string|false {} -function intltz_get_id_for_windows_id(string $timezone, string $region = UNKNOWN): string|false {} +function intltz_get_id_for_windows_id(string $timezone, ?string $region = null): string|false {} #endif function intltz_has_same_rules(IntlTimeZone $tz, IntlTimeZone $otherTimeZone): bool {} |
