Applied fixes from StyleCI

This commit is contained in:
onigoetz
2016-07-28 16:48:50 -04:00
committed by Stéphane Goetz
parent 18e10cacc8
commit f7b47a6c19
6 changed files with 25 additions and 17 deletions

View File

@ -1,7 +1,6 @@
<?php namespace Todaymade\Daux\Console;
use Symfony\Component\Console\Command\Command as SymfonyCommand;
use Symfony\Component\Console\Exception\InvalidOptionException;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
@ -34,8 +33,7 @@ class Generate extends SymfonyCommand
// HTML Format only
->addOption('destination', 'd', InputOption::VALUE_REQUIRED, $description, 'static')
->addOption('search', null, InputOption::VALUE_NONE, 'Generate full text search')
;
->addOption('search', null, InputOption::VALUE_NONE, 'Generate full text search');
}
protected function execute(InputInterface $input, OutputInterface $output)
@ -44,6 +42,7 @@ class Generate extends SymfonyCommand
if ($input->getOption('serve')) {
$this->serve($daux, $input);
return;
}