Skip to content

Commit

Permalink
add nullable ReflectionProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 3, 2023
1 parent e4ec3d3 commit 8958d3c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public function refactor(Node $node): Ternary|null|int
if (
! $this->isObjectType($node->var, new ObjectType('Reflector'))
&& ! $this->isObjectType($node->var, new ObjectType('ReflectionClass'))
&& ! $this->isObjectType($node->var, new ObjectType('ReflectionProperty'))
) {
return null;
}
Expand Down

0 comments on commit 8958d3c

Please sign in to comment.