Symfony 4 warning. The command cannot have an empty name.

This commit is contained in:
Dmitriy Prysenko 2022-11-01 11:26:56 +03:00
parent 83c81518c6
commit d727194ea1

View file

@ -48,6 +48,7 @@ class DumpCommand extends Command
$availableFormats = $this->renderOpenApi->getAvailableFormats();
$this
->setDescription('Dumps documentation in OpenAPI format to: '.implode(', ', $availableFormats))
->setName('nelmio:apidoc:dump')
->addOption('area', '', InputOption::VALUE_OPTIONAL, '', 'default')
->addOption(
'format',