Fix typo
This commit is contained in:
parent
7ed3d36f53
commit
436f697d81
|
@ -41,7 +41,7 @@ class Application extends BaseApplication
|
||||||
|
|
||||||
$inputDefinition = $this->getDefinition();
|
$inputDefinition = $this->getDefinition();
|
||||||
$inputDefinition->addOption(new InputOption('--env', '-e', InputOption::VALUE_REQUIRED, 'The Environment name.', $kernel->getEnvironment()));
|
$inputDefinition->addOption(new InputOption('--env', '-e', InputOption::VALUE_REQUIRED, 'The Environment name.', $kernel->getEnvironment()));
|
||||||
$inputDefinition->addOption(new InputOption('--no-debug', null, InputOption::VALUE_NONE, 'Switches off debug mode.'));
|
$inputDefinition->addOption(new InputOption('--no-debug', null, InputOption::VALUE_NONE, 'Switch off debug mode.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -48,7 +48,7 @@ class DebugCommand extends Command
|
||||||
$this
|
$this
|
||||||
->addArgument('class', InputArgument::REQUIRED, 'A fully qualified class name or a path')
|
->addArgument('class', InputArgument::REQUIRED, 'A fully qualified class name or a path')
|
||||||
->addOption('show-all', null, InputOption::VALUE_NONE, 'Show all classes even if they have no validation constraints')
|
->addOption('show-all', null, InputOption::VALUE_NONE, 'Show all classes even if they have no validation constraints')
|
||||||
->setDescription('Displays validation constraints for classes')
|
->setDescription('Display validation constraints for classes')
|
||||||
->setHelp(<<<'EOF'
|
->setHelp(<<<'EOF'
|
||||||
The <info>%command.name% 'App\Entity\Dummy'</info> command dumps the validators for the dummy class.
|
The <info>%command.name% 'App\Entity\Dummy'</info> command dumps the validators for the dummy class.
|
||||||
|
|
||||||
|
|
Reference in New Issue