From 2120de7d05acecf6df06a2362cf35f2628525bf7 Mon Sep 17 00:00:00 2001 From: Quynh Nguyen Date: Wed, 26 Jun 2024 13:38:20 +0700 Subject: [PATCH] Fix console prompt docblock --- src/Illuminate/Console/View/Components/Ask.php | 1 + src/Illuminate/Console/View/Components/Factory.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Console/View/Components/Ask.php b/src/Illuminate/Console/View/Components/Ask.php index 4540c9ff5f80..dfd414ad885d 100644 --- a/src/Illuminate/Console/View/Components/Ask.php +++ b/src/Illuminate/Console/View/Components/Ask.php @@ -11,6 +11,7 @@ class Ask extends Component * * @param string $question * @param string $default + * @param bool $multiline * @return mixed */ public function render($question, $default = null, $multiline = false) diff --git a/src/Illuminate/Console/View/Components/Factory.php b/src/Illuminate/Console/View/Components/Factory.php index a14a0b665a0d..6041c3172b6a 100644 --- a/src/Illuminate/Console/View/Components/Factory.php +++ b/src/Illuminate/Console/View/Components/Factory.php @@ -6,7 +6,7 @@ /** * @method void alert(string $string, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) - * @method mixed ask(string $question, string $default = null) + * @method mixed ask(string $question, string $default = null, bool $multiline = false) * @method mixed askWithCompletion(string $question, array|callable $choices, string $default = null) * @method void bulletList(array $elements, int $verbosity = \Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL) * @method mixed choice(string $question, array $choices, $default = null, int $attempts = null, bool $multiple = false)