@@ -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, |
@@ -541,6 +544,9 @@ discard block |
||
541 | 544 | return new Password(new InputIO($this, $this->terminal), $style); |
542 | 545 | } |
543 | 546 | |
547 | + /** |
|
548 | + * @param string $text |
|
549 | + */ |
|
544 | 550 | private function guardSingleLine($text) : void |
545 | 551 | { |
546 | 552 | if (strpos($text, "\n") !== false) { |