Skip to content

Commit

Permalink
Add DateTime serialization to CallMap
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls committed Aug 19, 2023
1 parent fb95bc0 commit 112d60a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions dictionaries/CallMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -1380,9 +1380,13 @@
'DateTime::setTimestamp' => ['static', 'timestamp'=>'int'],
'DateTime::setTimezone' => ['static', 'timezone'=>'DateTimeZone'],
'DateTime::sub' => ['static', 'interval'=>'DateInterval'],
'DateTime::__serialize' => ['array'],
'DateTime::__unserialize' => ['void', 'data'=>'array'],
'DateTimeImmutable::__wakeup' => ['void'],
'DateTimeImmutable::createFromInterface' => ['static', 'object' => 'DateTimeInterface'],
'DateTimeImmutable::getLastErrors' => ['array{warning_count:int,warnings:array<int,string>,error_count:int,errors:array<int,string>}|false'],
'DateTimeImmutable::__serialize' => ['array'],
'DateTimeImmutable::__unserialize' => ['void', 'data'=>'array'],
'DateTimeInterface::diff' => ['DateInterval', 'datetime2'=>'DateTimeInterface', 'absolute='=>'bool'],
'DateTimeInterface::format' => ['string', 'format'=>'string'],
'DateTimeInterface::getOffset' => ['int'],
Expand Down
2 changes: 0 additions & 2 deletions dictionaries/CallMap_82_delta.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
'ZipArchive::clearError' => ['void'],
'ZipArchive::getStreamIndex' => ['resource|false', 'index'=>'int', 'flags='=>'int'],
'ZipArchive::getStreamName' => ['resource|false', 'name'=>'string', 'flags='=>'int'],
'DateTimeInterface::__serialize' => ['array'],
'DateTimeInterface::__unserialize' => ['void', 'data'=>'array'],
],

'changed' => [
Expand Down

0 comments on commit 112d60a

Please sign in to comment.