Skip to content

Commit dab721b

Browse files
authored
[Console] Update comments
The info() method was introduced in Symfony 5.2. I updated comments that were probably copied from the success() method example.
1 parent b2b7d91 commit dab721b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console/style.rst

Lines changed: 2 additions & 2 deletions
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)