Yaffs site version 1.1
[yaffs-website] / vendor / psy / psysh / src / Psy / Command / ParseCommand.php
index 429bd44cab0592af7623fa1b26fe9dadd8cd2791..72fab26f388986d64ddf3213751ec8f85c59b538 100644 (file)
@@ -13,6 +13,7 @@ namespace Psy\Command;
 
 use PhpParser\Node;
 use PhpParser\Parser;
+use Psy\Input\CodeArgument;
 use Psy\ParserFactory;
 use Psy\VarDumper\Presenter;
 use Psy\VarDumper\PresenterAware;
@@ -72,7 +73,7 @@ class ParseCommand extends Command implements PresenterAware
     protected function configure()
     {
         $definition = array(
-            new InputArgument('code', InputArgument::REQUIRED, 'PHP code to parse.'),
+            new CodeArgument('code', InputArgument::REQUIRED, 'PHP code to parse.'),
             new InputOption('depth', '', InputOption::VALUE_REQUIRED, 'Depth to parse', 10),
         );