@@ -25,7 +25,7 @@ |
||
25 | 25 | * @param IOutput $output |
26 | 26 | * @param IConsole $console |
27 | 27 | * |
28 | - * @return bool |
|
28 | + * @return false|null |
|
29 | 29 | */ |
30 | 30 | public function run(IInput $input, IOutput $output, IConsole $console) { |
31 | 31 | if ($input->hasOption('--help')) { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @param IOutput $output |
24 | 24 | * @param IConsole $console |
25 | 25 | * |
26 | - * @return bool |
|
26 | + * @return boolean|null |
|
27 | 27 | */ |
28 | 28 | public function run(IInput $input, IOutput $output, IConsole $console) { |
29 | 29 | if ($input->getOption('--passthrough')) { |
@@ -260,7 +260,7 @@ |
||
260 | 260 | } |
261 | 261 | |
262 | 262 | /** |
263 | - * @param $string |
|
263 | + * @param string $string |
|
264 | 264 | */ |
265 | 265 | public function parseString($string) { |
266 | 266 | $this->handleArgs($this->argumentsParser->parse($string)); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
62 | - * @param $title |
|
62 | + * @param string $title |
|
63 | 63 | * |
64 | 64 | * @return $this |
65 | 65 | */ |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @param $type |
|
171 | + * @param string $type |
|
172 | 172 | * @param array $args |
173 | 173 | */ |
174 | 174 | private function addItem($type, array $args) { |
@@ -155,7 +155,7 @@ |
||
155 | 155 | $colWidth = strlen($this->output->format($col, OutputFormat::PLAIN)); |
156 | 156 | |
157 | 157 | // if not last row |
158 | - if ( array_has($row['cols'], $colIndex + 1)) { |
|
158 | + if (array_has($row['cols'], $colIndex + 1)) { |
|
159 | 159 | $col .= str_repeat(' ', $width - $colWidth); |
160 | 160 | } |
161 | 161 | } |
@@ -210,7 +210,7 @@ |
||
210 | 210 | * @param bool $enableBuffering |
211 | 211 | */ |
212 | 212 | public function setEnableBuffering($enableBuffering) { |
213 | - $this->enableBuffering = !! $enableBuffering; |
|
213 | + $this->enableBuffering = ! ! $enableBuffering; |
|
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |
@@ -160,7 +160,7 @@ |
||
160 | 160 | * @param ICommand $command |
161 | 161 | */ |
162 | 162 | public function setCommand(ICommand $command) { |
163 | - $this->command = $command; |
|
163 | + $this->command = $command; |
|
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |