From 14241d74b353a244189ffd53f1e046e9d13e632d Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Fri, 29 Jul 2022 22:09:39 +0200 Subject: [PATCH] ReflectionProperty::getValue $object is nullable since php 8.0 https://www.php.net/manual/en/reflectionproperty.getvalue.php --- 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 ce827081f7d..f7faaa4b875 100644 --- a/dictionaries/CallMap.php +++ b/dictionaries/CallMap.php @@ -11608,7 +11608,7 @@ 'ReflectionProperty::getModifiers' => ['int'], 'ReflectionProperty::getName' => ['string'], 'ReflectionProperty::getType' => ['?ReflectionType'], -'ReflectionProperty::getValue' => ['mixed', 'object='=>'object'], +'ReflectionProperty::getValue' => ['mixed', 'object='=>'null|object'], 'ReflectionProperty::hasType' => ['bool'], 'ReflectionProperty::isDefault' => ['bool'], 'ReflectionProperty::isPrivate' => ['bool'], diff --git a/dictionaries/CallMap_80_delta.php b/dictionaries/CallMap_80_delta.php index d03035cb424..afeb1bc4133 100644 --- a/dictionaries/CallMap_80_delta.php +++ b/dictionaries/CallMap_80_delta.php @@ -113,6 +113,10 @@ 'old' => ['object', 'args='=>'list'], 'new' => ['object', 'args='=>'array'], ], + 'ReflectionProperty::getValue' => [ + 'old' => ['mixed', 'object='=>'object'], + 'new' => ['mixed', 'object='=>'null|object'], + ], 'XMLWriter::flush' => [ 'old' => ['string|int|false', 'empty='=>'bool'], 'new' => ['string|int', 'empty='=>'bool'],