@@ -202,7 +202,7 @@ |
||
| 202 | 202 | /** |
| 203 | 203 | * Move the selection in a given direction, up / down |
| 204 | 204 | * |
| 205 | - * @param $direction |
|
| 205 | + * @param string $direction |
|
| 206 | 206 | */ |
| 207 | 207 | protected function moveSelection($direction) |
| 208 | 208 | { |
@@ -384,7 +384,7 @@ |
||
| 384 | 384 | } |
| 385 | 385 | |
| 386 | 386 | unset($this->items[$key]); |
| 387 | - $this->items =array_values($this->items); |
|
| 387 | + $this->items =array_values($this->items); |
|
| 388 | 388 | } |
| 389 | 389 | |
| 390 | 390 | /** |
@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | } |
| 376 | 376 | |
| 377 | 377 | /** |
| 378 | - * @return array |
|
| 378 | + * @return SelectableItem[] |
|
| 379 | 379 | */ |
| 380 | 380 | private function getDefaultItems() |
| 381 | 381 | { |
@@ -463,7 +463,7 @@ discard block |
||
| 463 | 463 | |
| 464 | 464 | /** |
| 465 | 465 | * @param string $id |
| 466 | - * @return CliMenu |
|
| 466 | + * @return CliMenuBuilder |
|
| 467 | 467 | * @throws RuntimeException |
| 468 | 468 | */ |
| 469 | 469 | public function getSubMenu($id) |
@@ -376,8 +376,8 @@ |
||
| 376 | 376 | /** |
| 377 | 377 | * Get padding for right had side of content |
| 378 | 378 | * |
| 379 | - * @param $contentLength |
|
| 380 | - * @return int |
|
| 379 | + * @param integer $contentLength |
|
| 380 | + * @return double |
|
| 381 | 381 | */ |
| 382 | 382 | public function getRightHandPadding($contentLength) |
| 383 | 383 | { |