diff --git a/ext/graphql/main.php b/ext/graphql/main.php index 5a5b63b63..9fb644b1c 100644 --- a/ext/graphql/main.php +++ b/ext/graphql/main.php @@ -197,7 +197,6 @@ public function onCliGen(CliGenEvent $event) return Command::SUCCESS; }); $event->app->register('graphql:schema') - ->addArgument('query', InputArgument::REQUIRED) ->setDescription('Print out the GraphQL schema') ->setCode(function (InputInterface $input, OutputInterface $output): int { $schema = $this->get_schema();