@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | /** |
| 209 | 209 | * Move the selection in a given direction, up / down |
| 210 | 210 | * |
| 211 | - * @param $direction |
|
| 211 | + * @param string $direction |
|
| 212 | 212 | */ |
| 213 | 213 | protected function moveSelection($direction) |
| 214 | 214 | { |
@@ -462,6 +462,9 @@ discard block |
||
| 462 | 462 | return new Password(new InputIO($this, $style, $this->terminal)); |
| 463 | 463 | } |
| 464 | 464 | |
| 465 | + /** |
|
| 466 | + * @param string $text |
|
| 467 | + */ |
|
| 465 | 468 | private function guardSingleLine($text) |
| 466 | 469 | { |
| 467 | 470 | if (strpos($text, "\n") !== false) { |