mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
changed return types of callmap
This commit is contained in:
parent
114aad4c23
commit
2ee7ba32c7
@ -1804,7 +1804,7 @@ return [
|
||||
'DateTimeImmutable::format' => ['string', 'format'=>'string'],
|
||||
'DateTimeImmutable::getLastErrors' => ['array{warning_count:int,warnings:array<int,string>,error_count:int,errors:array<int,string>}'],
|
||||
'DateTimeImmutable::getOffset' => ['int'],
|
||||
'DateTimeImmutable::getTimestamp' => ['int|false'],
|
||||
'DateTimeImmutable::getTimestamp' => ['int'],
|
||||
'DateTimeImmutable::getTimezone' => ['DateTimeZone|false'],
|
||||
'DateTimeImmutable::modify' => ['static', 'modify'=>'string'],
|
||||
'DateTimeImmutable::setDate' => ['static|false', 'year'=>'int', 'month'=>'int', 'day'=>'int'],
|
||||
|
@ -45,6 +45,10 @@ return [
|
||||
'old' => ['int|false'],
|
||||
'new' => ['int'],
|
||||
],
|
||||
'DateTimeInterface::getTimestamp' => [
|
||||
'old' => ['int|false'],
|
||||
'new' => ['int'],
|
||||
],
|
||||
'DateTimeImmutable::format' => [
|
||||
'old' => ['string|false', 'format'=>'string'],
|
||||
'new' => ['string', 'format'=>'string'],
|
||||
|
Loading…
Reference in New Issue
Block a user