[Console] changed an exception class

This commit is contained in:
Fabien Potencier 2013-10-08 08:39:58 +02:00
parent 5bed1cd6d2
commit f2b60e9c68
1 changed files with 1 additions and 1 deletions

View File

@ -408,7 +408,7 @@ class Application
}
if (null === $command->getAliases()) {
throw new \InvalidArgumentException(sprintf('You must call the parent constructor in "%s::__construct()"', get_class($command)));
throw new \LogicException(sprintf('You must call the parent constructor in "%s::__construct()"', get_class($command)));
}
$this->commands[$command->getName()] = $command;