Removing 5.4+ array syntax from GenerateCommand

This commit is contained in:
Dan Cryer 2014-05-09 07:01:03 +01:00
parent 45b7dec478
commit f6c7f65f01

View file

@ -37,7 +37,13 @@ class GenerateCommand extends Command
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$gen = new CodeGenerator(Database::getConnection(), ['default' => 'PHPCI'], ['default' => PHPCI_DIR], false);
$gen = new CodeGenerator(
Database::getConnection(),
array('default' => 'PHPCI'),
array('default' => PHPCI_DIR),
false
);
$gen->generateModels();
$gen->generateStores();
}