From f54f3018bb0f296a3d58720d2c419f9f4f51e616 Mon Sep 17 00:00:00 2001 From: enzo - Eduardo Garcia Date: Tue, 12 Jul 2016 10:45:59 -0300 Subject: [PATCH] State fix (#2510) * [generate:post:update] New Command * Fixed services call as option in some commands * Language separation * Revert "Language separation" This reverts commit e4d45c90b457df87fd9260a1bfa65d473268c9bd. * fix state debug command --- src/Command/State/DebugCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)));