diff --git a/Command/LoadDataFixturesDoctrineCommand.php b/Command/LoadDataFixturesDoctrineCommand.php index 87f76044..0489a6f4 100644 --- a/Command/LoadDataFixturesDoctrineCommand.php +++ b/Command/LoadDataFixturesDoctrineCommand.php @@ -105,7 +105,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $em->getConnection()->connect($input->getOption('shard')); } - $groups = $input->getOption('group'); + $groups = (array) $input->getOption('group'); $fixtures = $this->fixturesLoader->getFixtures($groups); if (! $fixtures) { $message = 'Could not find any fixture services to load';