From 8e01a12033b26e9a426f418f7929cb784a70f20d Mon Sep 17 00:00:00 2001 From: Daniel Kemper Date: Mon, 11 Apr 2022 22:44:36 +0200 Subject: [PATCH] Resolve #7855 remove false from return type, in php8.0 and further versions there is a ValueError returned instead --- dictionaries/CallMap_80_delta.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dictionaries/CallMap_80_delta.php b/dictionaries/CallMap_80_delta.php index 77845ced038..b3559230472 100644 --- a/dictionaries/CallMap_80_delta.php +++ b/dictionaries/CallMap_80_delta.php @@ -41,10 +41,18 @@ 'old' => ['string|false', 'format'=>'string'], 'new' => ['string', 'format'=>'string'], ], + 'DateTime::getTimestamp' => [ + 'old' => ['int|false'], + 'new' => ['int'], + ], 'DateTimeImmutable::format' => [ 'old' => ['string|false', 'format'=>'string'], 'new' => ['string', 'format'=>'string'], ], + 'DateTimeImmutable::getTimestamp' => [ + 'old' => ['int|false'], + 'new' => ['int'], + ], 'DateTimeZone::listIdentifiers' => [ 'old' => ['list|false', 'timezoneGroup='=>'int', 'countryCode='=>'string|null'], 'new' => ['list', 'timezoneGroup='=>'int', 'countryCode='=>'string|null'],