@@ -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)); |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * @param int $from |
| 30 | 30 | * @param int $length |
| 31 | 31 | * |
| 32 | - * @return string|false |
|
| 32 | + * @return string |
|
| 33 | 33 | */ |
| 34 | 34 | public function slice($from, $length = null) { |
| 35 | 35 | if ($length === null) { |
@@ -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) { |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | return true; |
| 71 | 71 | } else if (empty($input) and $default) { |
| 72 | 72 | return true; |
| 73 | - }else { |
|
| 73 | + } else { |
|
| 74 | 74 | return false; |
| 75 | 75 | } |
| 76 | 76 | } |