Skip to content

Commit f5f2b26

Browse files
authored
Fix console prompt docblock (#51913)
1 parent 72c872e commit f5f2b26

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Illuminate/Console/View/Components/Ask.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class Ask extends Component
1111
*
1212
* @param string $question
1313
* @param string $default
14+
* @param bool $multiline
1415
* @return mixed
1516
*/
1617
public function render($question, $default = null, $multiline = false)

src/Illuminate/Console/View/Components/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* @method void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
9-
* @method mixed ask(string $question, string $default = null)
9+
* @method mixed ask(string $question, string $default = null, bool $multiline = false)
1010
* @method mixed askWithCompletion(string $question, array|callable $choices, string $default = null)
1111
* @method void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL)
1212
* @method mixed choice(string $question, array $choices, $default = null, int $attempts = null, bool $multiple = false)

0 commit comments

Comments
 (0)