From 881f0b2d871001fcbdb827a51f6bb3bebe14944f Mon Sep 17 00:00:00 2001 From: Jakub Turek Date: Sat, 21 Feb 2015 14:57:25 +0100 Subject: [PATCH] Fix syntax error in ListCommand::run --- Mage/Command/BuiltIn/ListCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage/Command/BuiltIn/ListCommand.php b/Mage/Command/BuiltIn/ListCommand.php index 0d27862..30714b2 100644 --- a/Mage/Command/BuiltIn/ListCommand.php +++ b/Mage/Command/BuiltIn/ListCommand.php @@ -40,7 +40,7 @@ class ListCommand extends AbstractCommand $exitCode = $this->listEnvironments(); break; - default; + default: throw new Exception('The Type of Elements to List is needed.'); break; }