Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 33bf462

Browse filesBrowse files
committed
bug #4407 [Components][Console] array options need array default values (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Components][Console] array options need array default values | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #4406 Commits ------- 74b9555 array options need array default values
2 parents 4be6786 + 74b9555 commit 33bf462
Copy full SHA for 33bf462

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎components/console/introduction.rst

Copy file name to clipboardExpand all lines: components/console/introduction.rst
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,11 @@ You can combine ``VALUE_IS_ARRAY`` with ``VALUE_REQUIRED`` or ``VALUE_OPTIONAL``
357357
$this
358358
// ...
359359
->addOption(
360-
'iterations',
360+
'colors',
361361
null,
362362
InputOption::VALUE_REQUIRED | InputOption::VALUE_IS_ARRAY,
363-
'How many times should the message be printed?',
364-
1
363+
'Which colors do you like?',
364+
array('blue', 'red')
365365
);
366366
367367
Console Helpers

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.