diff --git a/src/Bootstrap/DrupalKernelTrait.php b/src/Bootstrap/DrupalKernelTrait.php index c381d104d..92a7d9962 100644 --- a/src/Bootstrap/DrupalKernelTrait.php +++ b/src/Bootstrap/DrupalKernelTrait.php @@ -4,7 +4,6 @@ use Symfony\Component\Finder\Finder; use Symfony\Component\HttpFoundation\Request; -use Drupal\Core\Site\Settings; use Drupal\Core\DependencyInjection\ServiceModifierInterface; use Drupal\Console\Core\Utils\DrupalFinder; diff --git a/src/Command/Config/OverrideCommand.php b/src/Command/Config/OverrideCommand.php index e1f1b2beb..98aaf0884 100644 --- a/src/Command/Config/OverrideCommand.php +++ b/src/Command/Config/OverrideCommand.php @@ -122,7 +122,11 @@ protected function execute(InputInterface $input, OutputInterface $output) $config = $this->configFactory->getEditable($configName); - $configurationOverrideResult = $this->overrideConfiguration($config, $key, $value); + $configurationOverrideResult = $this->overrideConfiguration( + $config, + $key, + $value + ); $config->save(); @@ -136,8 +140,6 @@ protected function execute(InputInterface $input, OutputInterface $output) ]; $tableRows = $configurationOverrideResult; $io->table($tableHeader, $tableRows); - - $config->save(); }