@@ -46,7 +46,7 @@ |
||
| 46 | 46 | $dispatcher = new EventDispatcher(); |
| 47 | 47 | $this->setDispatcher($dispatcher); |
| 48 | 48 | |
| 49 | - $dispatcher->addListener(ConsoleEvents::ERROR, function (ConsoleErrorEvent $event) { |
|
| 49 | + $dispatcher->addListener(ConsoleEvents::ERROR, function(ConsoleErrorEvent $event) { |
|
| 50 | 50 | $output = $event->getOutput(); |
| 51 | 51 | $command = $event->getCommand(); |
| 52 | 52 | $output->writeln(sprintf('Oops, exception thrown while running command <info>%s</info>', $command->getName())); |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | * Check if the provided Release ID is available in all hosts |
| 103 | 103 | * |
| 104 | 104 | * @param string $releaseToRollback Release ID |
| 105 | - * @return bool |
|
| 105 | + * @return string|false |
|
| 106 | 106 | */ |
| 107 | 107 | protected function checkReleaseAvailability($releaseToRollback) |
| 108 | 108 | { |