8000 Remove --built-in option · symfony/symfony@58572ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 58572ec

Browse files
committed
Remove --built-in option
1 parent 1a3a660 commit 58572ec

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/FormDebugCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Symfony\Component\Console\Helper\TableSeparator;
1616
use Symfony\Component\Console\Input\InputArgument;
1717
use Symfony\Component\Console\Input\InputInterface;
18-
use Symfony\Component\Console\Input\InputOption;
1918
use Symfony\Component\Console\Output\OutputInterface;
2019
use Symfony\Component\Console\Style\SymfonyStyle;
2120
use Symfony\Component\Form\FormRegistryInterface;
@@ -52,7 +51,6 @@ protected function configure()
5251
->setName('debug:form')
5352
->setDefinition(array(
5453
new InputArgument('class', InputArgument::REQUIRED, 'The form type class'),
55-
new InputOption('built-in', null, InputOption::VALUE_NONE, 'Used to detect built-in form types'),
5654
))
5755
->setDescription('Displays form type information')
5856
;
@@ -64,7 +62,7 @@ protected function configure()
6462
protected function execute(InputInterface $input, OutputInterface $output)
6563
{
6664
$class = $input->getArgument('class');
67-
if (!class_exists($class) && $input->getOption('built-in')) {
65+
if (!class_exists($class)) {
6866
$class = $this->getBuiltinFormTypeClass($class);
6967
}
7068

0 commit comments

Comments
 (0)
0