We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bd4931 commit 56ed618Copy full SHA for 56ed618
components/console/helpers/questionhelper.rst
@@ -190,7 +190,7 @@ provide a callback function to dynamically generate suggestions::
190
{
191
// This function is called whenever the input changes and new
192
// suggestions are needed.
193
- $callback = function (string $input): array {
+ $callback = function (string $userInput): array {
194
// Strip any characters from the last slash to the end of the string
195
// to keep only the last directory and generate suggestions for it
196
$inputPath = preg_replace('%(/|^)[^/]*$%', '$1', $userInput);
0 commit comments