Skip to content

Commit 14241d7

Browse files
committed
ReflectionProperty::getValue $object is nullable since php 8.0
https://www.php.net/manual/en/reflectionproperty.getvalue.php
1 parent 1482643 commit 14241d7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dictionaries/CallMap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11608,7 +11608,7 @@
1160811608
'ReflectionProperty::getModifiers' => ['int'],
1160911609
'ReflectionProperty::getName' => ['string'],
1161011610
'ReflectionProperty::getType' => ['?ReflectionType'],
11611-
'ReflectionProperty::getValue' => ['mixed', 'object='=>'object'],
11611+
'ReflectionProperty::getValue' => ['mixed', 'object='=>'null|object'],
1161211612
'ReflectionProperty::hasType' => ['bool'],
1161311613
'ReflectionProperty::isDefault' => ['bool'],
1161411614
'ReflectionProperty::isPrivate' => ['bool'],

dictionaries/CallMap_80_delta.php

+4
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
'old' => ['object', 'args='=>'list<mixed>'],
114114
'new' => ['object', 'args='=>'array<array-key, mixed>'],
115115
],
116+
'ReflectionProperty::getValue' => [
117+
'old' => ['mixed', 'object='=>'object'],
118+
'new' => ['mixed', 'object='=>'null|object'],
119+
],
116120
'XMLWriter::flush' => [
117121
'old' => ['string|int|false', 'empty='=>'bool'],
118122
'new' => ['string|int', 'empty='=>'bool'],

0 commit comments

Comments
 (0)