From ed859450c402c32c90ea49989402fcab8f74a0fd Mon Sep 17 00:00:00 2001 From: Tomas Date: Wed, 21 Dec 2022 20:52:48 +0100 Subject: [PATCH] Add DateTimeInterface::__serialize and DateTimeInterface::__unserialize to call maps --- dictionaries/CallMap.php | 2 ++ dictionaries/CallMap_82_delta.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index 2cc60caf6b4..a28691ce39f 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -1803,6 +1803,8 @@ 'DateTimeInterface::getOffset' => ['int'], 'DateTimeInterface::getTimestamp' => ['int'], 'DateTimeInterface::getTimezone' => ['DateTimeZone|false'], +'DateTimeInterface::__serialize' => ['array'], +'DateTimeInterface::__unserialize' => ['void', 'data'=>'array'], 'DateTimeZone::__construct' => ['void', 'timezone'=>'string'], 'DateTimeZone::__set_state' => ['DateTimeZone', 'array'=>'array'], 'DateTimeZone::__wakeup' => ['void'], diff --git a/dictionaries/CallMap_82_delta.php b/dictionaries/CallMap_82_delta.php index c6898b9ba90..17ebb593df0 100644 --- a/dictionaries/CallMap_82_delta.php +++ b/dictionaries/CallMap_82_delta.php @@ -27,6 +27,8 @@ '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' => [