@@ -4,11 +4,9 @@ |
||
| 4 | 4 | use Symfony\Component\Console\Command\Command; |
| 5 | 5 | use Symfony\Component\Console\Input\InputInterface; |
| 6 | 6 | use Symfony\Component\Console\Output\OutputInterface; |
| 7 | - |
|
| 8 | 7 | use Symfony\Component\Console\ConsoleEvents; |
| 9 | 8 | use Symfony\Component\Console\Event\ConsoleCommandEvent; |
| 10 | 9 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
| 11 | - |
|
| 12 | 10 | use Consolidation\AnnotatedCommand\ExitCodeInterface; |
| 13 | 11 | use Consolidation\AnnotatedCommand\OutputDataInterface; |
| 14 | 12 | use Consolidation\AnnotatedCommand\AnnotationData; |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | { |
| 392 | 392 | $names = array_merge( |
| 393 | 393 | (array)$names, |
| 394 | - ($annotationData == null) ? [] : array_map(function ($item) { |
|
| 394 | + ($annotationData == null) ? [] : array_map(function($item) { |
|
| 395 | 395 | return "@$item"; |
| 396 | 396 | }, $annotationData->keys()) |
| 397 | 397 | ); |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | $hooks = []; |
| 413 | 413 | foreach ($stages as $stage) { |
| 414 | 414 | foreach ((array)$names as $name) { |
| 415 | - $hooks = array_merge($hooks, $this->getHook($name, $stage . $hook)); |
|
| 415 | + $hooks = array_merge($hooks, $this->getHook($name, $stage.$hook)); |
|
| 416 | 416 | } |
| 417 | 417 | } |
| 418 | 418 | return $hooks; |