@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Consolidation\AnnotatedCommand\Parser; |
3 | 3 | |
4 | 4 | use Symfony\Component\Console\Input\InputOption; |
5 | -use Consolidation\AnnotatedCommand\Parser\Internal\CommandDocBlockParser; |
|
6 | 5 | use Consolidation\AnnotatedCommand\Parser\Internal\CommandDocBlockParserFactory; |
7 | 6 | use Consolidation\AnnotatedCommand\AnnotationData; |
8 | 7 |
@@ -36,11 +36,9 @@ |
||
36 | 36 | $data = $this->offsetGet($key); |
37 | 37 | if (is_array($data)) { |
38 | 38 | $this->offsetSet($key, array_merge($data, $default)); |
39 | - } |
|
40 | - elseif (is_numeric($data)) { |
|
39 | + } elseif (is_numeric($data)) { |
|
41 | 40 | $this->offsetSet($key, $data + $default); |
42 | - } |
|
43 | - elseif (is_scalar($data)) { |
|
41 | + } elseif (is_scalar($data)) { |
|
44 | 42 | $this->offsetSet($key, $data . $default); |
45 | 43 | } |
46 | 44 | return $this; |