Skip to content

Commit 56ed618

Browse files
committed
fixed the name of a variable
1 parent 8bd4931 commit 56ed618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/questionhelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ provide a callback function to dynamically generate suggestions::
190190
{
191191
// This function is called whenever the input changes and new
192192
// suggestions are needed.
193-
$callback = function (string $input): array {
193+
$callback = function (string $userInput): array {
194194
// Strip any characters from the last slash to the end of the string
195195
// to keep only the last directory and generate suggestions for it
196196
$inputPath = preg_replace('%(/|^)[^/]*$%', '$1', $userInput);

0 commit comments

Comments
 (0)