mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Merge pull request #7758 from Ne-Lexa/fix-dateinterfal-false
DateInterval::createFromDateString can be false
This commit is contained in:
parent
d58736a550
commit
7360626ef4
@ -1027,7 +1027,7 @@ return [
|
||||
'DateInterval::__construct' => ['void', 'spec'=>'string'],
|
||||
'DateInterval::__set_state' => ['DateInterval', 'array'=>'array'],
|
||||
'DateInterval::__wakeup' => ['void'],
|
||||
'DateInterval::createFromDateString' => ['DateInterval', 'time'=>'string'],
|
||||
'DateInterval::createFromDateString' => ['DateInterval|false', 'time'=>'string'],
|
||||
'DateInterval::format' => ['string', 'format'=>'string'],
|
||||
'DatePeriod::__construct' => ['void', 'start'=>'DateTimeInterface', 'interval'=>'DateInterval', 'recur'=>'int', 'options='=>'int'],
|
||||
'DatePeriod::__construct\'1' => ['void', 'start'=>'DateTimeInterface', 'interval'=>'DateInterval', 'end'=>'DateTimeInterface', 'options='=>'int'],
|
||||
|
Loading…
Reference in New Issue
Block a user