Skip to content

Commit 77b6376

Browse files
committed
minor #14902 [Console] Update comments (sebpacz)
This PR was merged into the 5.2 branch. Discussion ---------- [Console] Update comments The info() method was introduced in Symfony 5.2. I updated comments that were probably copied from the success() method example. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases 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 `5.x` for features of unreleased versions). --> Commits ------- dab721b [Console] Update comments
2 parents b2b7d91 + dab721b commit 77b6376

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console/style.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@ Result Methods
331331
It's meant to be used once to display the final result of executing the given
332332
command, without showing the result as a successful or failed one::
333333

334-
// use simple strings for short success messages
334+
// use simple strings for short info messages
335335
$io->info('Lorem ipsum dolor sit amet');
336336

337337
// ...
338338

339-
// consider using arrays when displaying long success messages
339+
// consider using arrays when displaying long info messages
340340
$io->info([
341341
'Lorem ipsum dolor sit amet',
342342
'Consectetur adipiscing elit',

0 commit comments

Comments
 (0)