mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Improve DateTimeZone signatures (#4870)
This commit is contained in:
parent
0b2081b621
commit
8b8c6e5a02
@ -1819,8 +1819,8 @@ return [
|
||||
'DateTimeZone::getName' => ['string'],
|
||||
'DateTimeZone::getOffset' => ['int|false', 'datetime'=>'DateTimeInterface'],
|
||||
'DateTimeZone::getTransitions' => ['array|false', 'timestamp_begin='=>'int', 'timestamp_end='=>'int'],
|
||||
'DateTimeZone::listAbbreviations' => ['array|false'],
|
||||
'DateTimeZone::listIdentifiers' => ['array|false', 'what='=>'int', 'country='=>'string'],
|
||||
'DateTimeZone::listAbbreviations' => ['array<string, list<array{dst: bool, offset: int, timezone_id: string|null}>>|false'],
|
||||
'DateTimeZone::listIdentifiers' => ['list<string>|false', 'what='=>'int', 'country='=>'string'],
|
||||
'db2_autocommit' => ['mixed', 'connection'=>'resource', 'value='=>'int'],
|
||||
'db2_bind_param' => ['bool', 'stmt'=>'resource', 'parameter_number'=>'int', 'variable_name'=>'string', 'parameter_type='=>'int', 'data_type='=>'int', 'precision='=>'int', 'scale='=>'int'],
|
||||
'db2_client_info' => ['object|false', 'connection'=>'resource'],
|
||||
@ -14584,7 +14584,7 @@ return [
|
||||
'time' => ['int'],
|
||||
'time_nanosleep' => ['array{0:int,1:int}|bool', 'seconds'=>'int', 'nanoseconds'=>'int'],
|
||||
'time_sleep_until' => ['bool', 'timestamp'=>'float'],
|
||||
'timezone_abbreviations_list' => ['array|false'],
|
||||
'timezone_abbreviations_list' => ['array<string, list<array{dst: bool, offset: int, timezone_id: string|null}>>|false'],
|
||||
'timezone_identifiers_list' => ['list<string>|false', 'timezoneGroup='=>'int', 'countryCode='=>'?string'],
|
||||
'timezone_location_get' => ['array|false', 'object'=>'DateTimeZone'],
|
||||
'timezone_name_from_abbr' => ['string|false', 'abbr'=>'string', 'utcOffset='=>'int', 'isDST='=>'int'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user