Skip to content

Commit ef315d1

Browse files
authored
docs(test): add array example for options
1 parent ab9dfa4 commit ef315d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

console.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,8 @@ console::
482482

483483
// prefix the key with two dashes when passing options,
484484
// e.g: '--some-option' => 'option_value',
485+
// use brackets for testing array value,
486+
// e.g: '--some-option' => ['option_value'],
485487
]);
486488

487489
$commandTester->assertCommandIsSuccessful();

0 commit comments

Comments
 (0)