| @@ -28,7 +28,7 @@ | ||
| 28 | 28 |          foreach ($settings as $setterMethod => $args) { | 
| 29 | 29 | $fn = [$object, $setterMethod]; | 
| 30 | 30 |              if (is_callable($fn)) { | 
| 31 | - $result = call_user_func_array($fn, (array)$args); | |
| 31 | + $result = call_user_func_array($fn, (array) $args); | |
| 32 | 32 | |
| 33 | 33 | // We require that $fn must only be used with setter methods. | 
| 34 | 34 | // Setter methods are required to always return $this so that | 
| @@ -3,12 +3,10 @@ | ||
| 3 | 3 | |
| 4 | 4 | use Consolidation\Config\ConfigInterface; | 
| 5 | 5 | use Consolidation\Config\Util\ConfigFallback; | 
| 6 | - | |
| 7 | 6 | use Symfony\Component\Console\ConsoleEvents; | 
| 8 | 7 | use Symfony\Component\Console\Event\ConsoleCommandEvent; | 
| 9 | 8 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; | 
| 10 | 9 | use Symfony\Component\Console\Application; | 
| 11 | -use Symfony\Component\Console\Input\InputOption; | |
| 12 | 10 | |
| 13 | 11 | class ConfigForCommand implements EventSubscriberInterface | 
| 14 | 12 |  { |