@@ -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 | { |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | * Retrieve a value from the Vars bag |
144 | 144 | * |
145 | 145 | * @param string $key Variable name |
146 | - * @param mixed $default Variable default value, returned if not found |
|
146 | + * @param boolean $default Variable default value, returned if not found |
|
147 | 147 | * @return string |
148 | 148 | */ |
149 | 149 | public function getVar($key, $default = null) |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * Shortcut to get the the configuration option for a specific environment and merge it with |
234 | 234 | * the global one (environment specific overrides the global one if present). |
235 | 235 | * |
236 | - * @param $key |
|
236 | + * @param string $key |
|
237 | 237 | * @param array $defaultEnv |
238 | 238 | * |
239 | 239 | * @return array |