Skip to content

Commit

Permalink
Merge pull request #8344 from mathroc/chore/update-ReflectionProperty…
Browse files Browse the repository at this point in the history
…-getValue-args-type

ReflectionProperty::getValue $object is nullable since php 8.0
  • Loading branch information
orklah committed Jul 29, 2022
2 parents 1482643 + 14241d7 commit dcc6636
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dictionaries/CallMap.php
Expand Up @@ -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'],
Expand Down
4 changes: 4 additions & 0 deletions dictionaries/CallMap_80_delta.php
Expand Up @@ -113,6 +113,10 @@
'old' => ['object', 'args='=>'list<mixed>'],
'new' => ['object', 'args='=>'array<array-key, mixed>'],
],
'ReflectionProperty::getValue' => [
'old' => ['mixed', 'object='=>'object'],
'new' => ['mixed', 'object='=>'null|object'],
],
'XMLWriter::flush' => [
'old' => ['string|int|false', 'empty='=>'bool'],
'new' => ['string|int', 'empty='=>'bool'],
Expand Down

0 comments on commit dcc6636

Please sign in to comment.