Skip to content

Commit b81066d

Browse files
staabmondrejmirtes
authored andcommitted
More precise getdate() return type
1 parent 4b6cf8b commit b81066d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3323,7 +3323,7 @@
33233323
'get_resources' => ['array<int, resource>', 'type='=>'string'],
33243324
'getallheaders' => ['array'],
33253325
'getcwd' => ['string|false'],
3326-
'getdate' => ['array', 'timestamp='=>'int'],
3326+
'getdate' => ['array{seconds: int<0, 59>, minutes: int<0, 59>, hours: int<0, 23>, mday: int<1, 31>, wday: int<0, 6>, mon: int<1, 12>, year: int, yday: int<0, 365>, weekday: "Monday"|"Tuesday"|"Wednesday"|"Thursday"|"Friday"|"Saturday"|"Sunday", month: "January"|"February"|"March"|"April"|"May"|"June"|"July"|"August"|"September"|"October"|"November"|"December", 0: int}', 'timestamp='=>'int'],
33273327
'getenv' => ['string|false', 'varname'=>'string', 'local_only='=>'bool'],
33283328
'getenv\'1' => ['string[]'],
33293329
'gethostbyaddr' => ['string|false', 'ip_address'=>'string'],

0 commit comments

Comments
 (0)