@@ -1,11 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Consolidation\AnnotatedCommand; |
3 | 3 | |
4 | -use Symfony\Component\Console\Command\Command; |
|
5 | -use Symfony\Component\Console\Input\InputInterface; |
|
6 | 4 | use Symfony\Component\Console\Output\OutputInterface; |
7 | 5 | use Symfony\Component\Console\Output\ConsoleOutputInterface; |
8 | - |
|
9 | 6 | use Consolidation\OutputFormatters\FormatterManager; |
10 | 7 | use Consolidation\OutputFormatters\FormatterOptions; |
11 | 8 | use Consolidation\AnnotatedCommand\Hooks\HookManager; |
@@ -391,8 +391,7 @@ |
||
391 | 391 | if (!$this->isAssoc($defaultValue)) { |
392 | 392 | $result->setDefaultValue($param->name, $defaultValue); |
393 | 393 | } |
394 | - } |
|
395 | - elseif ($param->isArray()) { |
|
394 | + } elseif ($param->isArray()) { |
|
396 | 395 | $result->setDefaultValue($param->name, []); |
397 | 396 | } |
398 | 397 | } |