Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflection/Node.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function setParent(Node $node, $new = false)
*/
public function createChild($value)
{
$child = new self($value, $this);
$child = new static($value, $this);

return $child;
}
Expand Down

0 comments on commit 98119e4

Please sign in to comment.