Skip to content

Commit 89f866d

Browse files
committed
Add getOriginalNode() method on ClassPropertyNode
1 parent 1dc44d1 commit 89f866d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Node/ClassPropertyNode.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ public function getNativeTypeNode()
129129
return $this->originalNode->type;
130130
}
131131

132+
public function getOriginalNode(): Node\Stmt\Property|Node\Param
133+
{
134+
return $this->originalNode;
135+
}
136+
132137
public function getClassReflection(): ClassReflection
133138
{
134139
return $this->classReflection;

0 commit comments

Comments
 (0)