mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-06 07:49:24 +03:00
Removed unnecessary loc entry in AST\Node::toArray()
This commit is contained in:
parent
86f01ac1a6
commit
835e4e6b2d
@ -82,11 +82,6 @@ abstract class Node
|
||||
public function __toString()
|
||||
{
|
||||
$tmp = $this->toArray();
|
||||
$tmp['loc'] = [
|
||||
'start' => $this->loc->start,
|
||||
'end' => $this->loc->end
|
||||
];
|
||||
|
||||
return json_encode($tmp);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user