summaryrefslogtreecommitdiff
path: root/ext/date/php_date.stub.php
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2020-07-27 11:42:13 +0100
committerDerick Rethans <github@derickrethans.nl>2020-07-27 11:42:13 +0100
commitcdc8523300a4e3635cdc6aaed0b807e72ebdcfc8 (patch)
treeafdf8e76e386d2848f687b178914995d21d24403 /ext/date/php_date.stub.php
parentc56c19cec37334b3a5466cf561053ad1db27cb81 (diff)
downloadphp-git-cdc8523300a4e3635cdc6aaed0b807e72ebdcfc8.tar.gz
Last pass of 'More consistent parameter names for date/time functions'
Diffstat (limited to 'ext/date/php_date.stub.php')
-rw-r--r--ext/date/php_date.stub.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/date/php_date.stub.php b/ext/date/php_date.stub.php
index dd65a65181..c86b51d7ca 100644
--- a/ext/date/php_date.stub.php
+++ b/ext/date/php_date.stub.php
@@ -79,7 +79,7 @@ function timezone_open(string $timezone): DateTimeZone|false {}
function timezone_name_get(DateTimeZone $object): string {}
-function timezone_name_from_abbr(string $abbr, int $gmtoffset = -1, int $isdst = -1): string|false {}
+function timezone_name_from_abbr(string $abbr, int $utcOffset = -1, int $isDST = -1): string|false {}
function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {}
@@ -88,7 +88,7 @@ function timezone_transitions_get(
function timezone_location_get(DateTimeZone $object): array|false {}
-function timezone_identifiers_list(int $what = DateTimeZone::ALL, ?string $country = null): array|false {}
+function timezone_identifiers_list(int $timezoneGroup = DateTimeZone::ALL, ?string $countryCode = null): array|false {}
function timezone_abbreviations_list(): array {}
@@ -103,14 +103,14 @@ function date_default_timezone_set(string $timezoneID): bool {}
function date_default_timezone_get(): string {}
function date_sunrise(
- int $timestamp, int $retformat = SUNFUNCS_RET_STRING,
+ int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING,
?float $latitude = null, ?float $longitude = null, ?float $zenith = null,
- float $gmt_offset = 0): string|int|float|false {}
+ float $utcOffset = 0): string|int|float|false {}
function date_sunset(
- int $timestamp, int $retformat = SUNFUNCS_RET_STRING,
+ int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING,
?float $latitude = null, ?float $longitude = null, ?float $zenith = null,
- float $gmt_offset = 0): string|int|float|false {}
+ float $utcOffset = 0): string|int|float|false {}
function date_sun_info(int $timestamp, float $latitude, float $longitude): array {}