@@ -87,6 +87,9 @@ discard block |
||
87 | 87 | */ |
88 | 88 | private $currentFrame; |
89 | 89 | |
90 | + /** |
|
91 | + * @param string $title |
|
92 | + */ |
|
90 | 93 | public function __construct( |
91 | 94 | ?string $title, |
92 | 95 | array $items, |
@@ -498,6 +501,9 @@ discard block |
||
498 | 501 | return new Password(new InputIO($this, $this->terminal), $style); |
499 | 502 | } |
500 | 503 | |
504 | + /** |
|
505 | + * @param string $text |
|
506 | + */ |
|
501 | 507 | private function guardSingleLine($text) |
502 | 508 | { |
503 | 509 | if (strpos($text, "\n") !== false) { |