1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix #217 - bad param count for DateTimeImmutable::getTimezone

This commit is contained in:
Matt Brown 2017-09-21 15:37:05 -04:00
parent 3bc497b18e
commit d949165eb6

View File

@ -1136,7 +1136,7 @@ return [
'DateTimeImmutable::getLastErrors' => ['array'],
'DateTimeImmutable::getOffset' => ['int'],
'DateTimeImmutable::getTimestamp' => ['int'],
'DateTimeImmutable::getTimezone' => ['DateTimeZone', 'object'=>'DateTime'],
'DateTimeImmutable::getTimezone' => ['DateTimeZone'],
'DateTimeImmutable::modify' => ['DateTimeImmutable', 'modify'=>'string'],
'DateTimeImmutable::setDate' => ['DateTimeImmutable', 'year'=>'int', 'month'=>'int', 'day'=>'int'],
'DateTimeImmutable::setISODate' => ['DateTimeImmutable', 'year'=>'int', 'week'=>'int', 'day='=>'int'],