diff --git a/src/Command/State/DebugCommand.php b/src/Command/State/DebugCommand.php index dea4f1654..543fc2439 100644 --- a/src/Command/State/DebugCommand.php +++ b/src/Command/State/DebugCommand.php @@ -47,7 +47,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $key = $input->getArgument('key'); if ($key) { - $state = $this->getState(); + $state = $this->getApplication()->getState(); $io->info($key); $io->writeln(Yaml::encode($state->get($key)));