Skip to content
Browse files

Fix previous commit

  • Loading branch information...
1 parent 1614900 commit 967bc8769a251219ebe6f260c009da2320a46ca3 @willdurand willdurand committed Nov 18, 2013
Showing with 10 additions and 10 deletions.
  1. +10 −10 Command/BuildCommand.php
View
20 Command/BuildCommand.php
@@ -51,30 +51,30 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
if (!$input->getOption('sql')) {
$in = new ArrayInput(array(
- 'command' => 'propel:model:build',
- '--connection' => $input->getOption('connection'),
- '--verbose' => $input->getOption('verbose')
+ 'command' => 'propel:model:build',
+ '--connection' => $input->getOption('connection'),
+ '--verbose' => $input->getOption('verbose'),
));
$modelCommand = $this->getApplication()->find('propel:model:build');
$res = $modelCommand->run($in, $output);
}
if (!$input->getOption('classes')) {
$in = new ArrayInput(array(
- 'command' => 'propel:build:sql',
- '--connection' => $input->getOption('connection'),
- '--verbose' => $input->getOption('verbose')
+ 'command' => 'propel:build:sql',
+ '--connection' => $input->getOption('connection'),
+ '--verbose' => $input->getOption('verbose'),
));
$sqlCommand = $this->getApplication()->find('propel:sql:build');
$sqlCommand->run($in, $output);
}
if ($input->getOption('insert-sql')) {
$in = new ArrayInput(array(
- 'command' => 'propel:sql:insert',
- '--connection' => $input->getOption('connection'),
- '--verbose' => $input->getOption('verbose')
- '--force' => true,
+ 'command' => 'propel:sql:insert',
+ '--connection' => $input->getOption('connection'),
+ '--verbose' => $input->getOption('verbose'),
+ '--force' => true,
));
$insertCommand = $this->getApplication()->find('propel:sql:insert');
$insertCommand->run($in, $output);

0 comments on commit 967bc87

Please sign in to comment.
Something went wrong with that request. Please try again.