From 2ee7ba32c708b281e7c29de2c8609150361101d4 Mon Sep 17 00:00:00 2001 From: Daniel Kemper Date: Tue, 12 Apr 2022 08:49:40 +0200 Subject: [PATCH] changed return types of callmap --- dictionaries/CallMap.php | 2 +- dictionaries/CallMap_80_delta.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/dictionaries/CallMap.php b/dictionaries/CallMap.php index e21c14afb..7589b2272 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -1804,7 +1804,7 @@ return [ 'DateTimeImmutable::format' => ['string', 'format'=>'string'], 'DateTimeImmutable::getLastErrors' => ['array{warning_count:int,warnings:array,error_count:int,errors:array}'], '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'], diff --git a/dictionaries/CallMap_80_delta.php b/dictionaries/CallMap_80_delta.php index b35592304..4331bc68d 100644 --- a/dictionaries/CallMap_80_delta.php +++ b/dictionaries/CallMap_80_delta.php @@ -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'],