summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-10-13 20:03:00 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-10-16 10:56:33 +0200
commitd6264b09665c20ee73d7a1017db0730f9a7c7973 (patch)
treebb465d70db16df73ce28bcc1fadab1a57dd92c02 /ext/intl/php_intl.stub.php
parent3841ea338ef2508d467efef9ec45d03162ba695d (diff)
downloadphp-git-d6264b09665c20ee73d7a1017db0730f9a7c7973.tar.gz
Verify parameter names of function aliases
Closes GH-6335
Diffstat (limited to 'ext/intl/php_intl.stub.php')
-rw-r--r--ext/intl/php_intl.stub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/intl/php_intl.stub.php b/ext/intl/php_intl.stub.php
index 6127ca05f9..26b7922c2c 100644
--- a/ext/intl/php_intl.stub.php
+++ b/ext/intl/php_intl.stub.php
@@ -89,7 +89,7 @@ function intlcal_set_repeated_wall_time_option(IntlCalendar $calendar, int $opti
function intlcal_set_skipped_wall_time_option(IntlCalendar $calendar, int $option): bool {}
-function intlcal_from_date_time(DateTime|string $dateTime, ?string $locale = null): ?IntlCalendar {}
+function intlcal_from_date_time(DateTime|string $datetime, ?string $locale = null): ?IntlCalendar {}
function intlcal_to_date_time(IntlCalendar $calendar): DateTime|false {}
@@ -131,7 +131,7 @@ function collator_sort(Collator $object, array &$array, int $flags = Collator::S
function collator_sort_with_sort_keys(Collator $object, array &$array): bool {}
-function collator_asort(Collator $object, array &$arr, int $flags = Collator::SORT_REGULAR): bool {}
+function collator_asort(Collator $object, array &$array, int $flags = Collator::SORT_REGULAR): bool {}
function collator_get_locale(Collator $object, int $type): string|false {}
@@ -349,7 +349,7 @@ function resourcebundle_create(?string $locale, ?string $bundle, bool $fallback
* @param string|int $index
* @return mixed
*/
-function resourcebundle_get(ResourceBundle $bundle, $index) {}
+function resourcebundle_get(ResourceBundle $bundle, $index, bool $fallback = true) {}
function resourcebundle_count(ResourceBundle $bundle): int {}