Skip to content

Commit 835e4e6

Browse files
committed
Removed unnecessary loc entry in AST\Node::toArray()
1 parent 86f01ac commit 835e4e6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Language/AST/Node.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ private function cloneValue($value)
8282
public function __toString()
8383
{
8484
$tmp = $this->toArray();
85-
$tmp['loc'] = [
86-
'start' => $this->loc->start,
87-
'end' => $this->loc->end
88-
];
89-
9085
return json_encode($tmp);
9186
}
9287

0 commit comments

Comments
 (0)