From 291bb27f6a2f588b8e52be8631a0659f5b2ee135 Mon Sep 17 00:00:00 2001 From: Ben Peachey Date: Fri, 7 Apr 2017 16:15:46 +0200 Subject: [PATCH] Removes unneeded code from JSON encoding example (#372) --- doc/3_Other_node_tree_representations.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/3_Other_node_tree_representations.markdown b/doc/3_Other_node_tree_representations.markdown index 0830f39..9000412 100644 --- a/doc/3_Other_node_tree_representations.markdown +++ b/doc/3_Other_node_tree_representations.markdown @@ -104,7 +104,6 @@ printLine('Hello World!!!'); CODE; $parser = (new PhpParser\ParserFactory)->create(PhpParser\ParserFactory::PREFER_PHP7); -$nodeDumper = new PhpParser\NodeDumper; try { $stmts = $parser->parse($code); @@ -327,4 +326,4 @@ Produces: -``` \ No newline at end of file +```