Skip to content

Commit 6f88d82

Browse files
rivalaryakenjis
andauthored
Apply suggestions from code review
Co-authored-by: kenjis <[email protected]>
1 parent 255f784 commit 6f88d82

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

system/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public static function promptByKey($text, array $options, $validation = null): s
293293
}
294294

295295
/**
296-
* * This method is the same as promptByKey(), but this method supports multiple keys, separated by commas.
296+
* This method is the same as promptByKey(), but this method supports multiple keys, separated by commas.
297297
*
298298
* @param string $text Output "field" text or an one or two value array where the first value is the text before listing the options
299299
* and the second value the text before asking to select one option. Provide empty string to omit

user_guide_src/source/cli/cli_library/023.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* [1] Sleep
88
* [2] Badminton
99
*
10+
* You can specify multiple values separated by commas.
1011
* [0, 1, 2]:
1112
*
1213
* if your answer is '0,2', the return is the key and the value of the options :

0 commit comments

Comments
 (0)