Skip to content

Commit

Permalink
Fix fetching config for symfony4 (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
mastercoding authored and Nyholm committed Jan 18, 2018
1 parent a772cdb commit 7c58aaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Command/DownloadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ protected function execute(InputInterface $input, OutputInterface $output)

/** @var StorageService $storage */
$storage = $container->get('php_translation.storage.'.$configName);

/** @var Configuration $configuration */
$configuration = $this->getContainer()->get('php_translation.configuration.'.$configName);
$configuration = $container->get('php_translation.configuration_manager')
->getConfiguration($input->getArgument('configuration'));
$this->configureBundleDirs($input, $configuration);

if ($input->getOption('cache')) {
Expand Down

0 comments on commit 7c58aaa

Please sign in to comment.