mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
docs: change comment style
This commit is contained in:
parent
25b48a8221
commit
f9ef14a206
@ -2,9 +2,11 @@
|
||||
|
||||
$fruit = CLI::promptByKey('These are your choices:', ['The red apple', 'The plump orange', 'The ripe banana']);
|
||||
|
||||
//These are your choices:
|
||||
// [0] The red apple
|
||||
// [1] The plump orange
|
||||
// [2] The ripe banana
|
||||
//
|
||||
//[0, 1, 2]:
|
||||
/*
|
||||
These are your choices:
|
||||
[0] The red apple
|
||||
[1] The plump orange
|
||||
[2] The ripe banana
|
||||
|
||||
[0, 1, 2]:
|
||||
*/
|
||||
|
@ -6,9 +6,11 @@ $fruit = CLI::promptByKey(['These are your choices:', 'Which would you like?'],
|
||||
'banana' => 'The ripe banana'
|
||||
]);
|
||||
|
||||
//These are your choices:
|
||||
// [apple] The red apple
|
||||
// [orange] The plump orange
|
||||
// [banana] The ripe banana
|
||||
//
|
||||
//Which would you like? [apple, orange, banana]:
|
||||
/*
|
||||
These are your choices:
|
||||
[apple] The red apple
|
||||
[orange] The plump orange
|
||||
[banana] The ripe banana
|
||||
|
||||
Which would you like? [apple, orange, banana]:
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user