@@ -57,8 +57,7 @@ |
||
57 | 57 | /** @var Configuration $configuration */ |
58 | 58 | $configuration = new $className(); |
59 | 59 | $configuration->exchangeArray($array); |
60 | - } |
|
61 | - catch (\InvalidArgumentException $exception) |
|
60 | + } catch (\InvalidArgumentException $exception) |
|
62 | 61 | { |
63 | 62 | throw new ConfigurationException("In file {$configurationFilePath}", 0, $exception); |
64 | 63 | } |
@@ -68,7 +68,7 @@ |
||
68 | 68 | } |
69 | 69 | } |
70 | 70 | } |
71 | - while($this->consoleStyle->choice('Add another vault?', ['y', 'n'], 'n') === 'y'); |
|
71 | + while ($this->consoleStyle->choice('Add another vault?', ['y', 'n'], 'n') === 'y'); |
|
72 | 72 | |
73 | 73 | |
74 | 74 | $skipDefaults = !$input->getOption('writeDefaults'); |
@@ -205,8 +205,7 @@ |
||
205 | 205 | $vaultConfig = new $className($this); |
206 | 206 | $vaultConfig->exchangeArray($val); |
207 | 207 | } |
208 | - } |
|
209 | - else |
|
208 | + } else |
|
210 | 209 | { |
211 | 210 | // using setter to prevent skipping validation |
212 | 211 | call_user_func([$this, 'set' . ucfirst($key)], $value); |