Skip to content

Commit 4b664d0

Browse files
committed
minor #9884 Fixed typo (ddegasperi)
This PR was submitted for the 4.1 branch but it was merged into the 2.8 branch instead (closes #9884). Discussion ---------- Fixed typo <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- ccb0e43 Fixed typo
2 parents 54a3e1f + ccb0e43 commit 4b664d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/input.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ To solve this issue, you have to set the option's default value to ``false``::
257257

258258
Now check the value of the option and keep in mind that ``false !== null``::
259259

260-
$optionValue = $input->getOptions('yell');
260+
$optionValue = $input->getOption('yell');
261261
$yell = ($optionValue !== false);
262262
$yellLouder = ($optionValue === 'louder');
263263

0 commit comments

Comments
 (0)