Skip to content

Commit fbdcc40

Browse files
committed
minor #14611 [Console] A method call is reversed (postal)
This PR was merged into the 4.4 branch. Discussion ---------- [Console] A method call is reversed The order of the methods is reversed. The method "advance()" must be called after the "setMessage()". Commits ------- a18ef8d A method call is reversed
2 parents 019e0ac + a18ef8d commit fbdcc40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/console/helpers/progressbar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ placeholder before displaying the progress bar::
362362
$progressBar->start();
363363
// 0/100 -- Start
364364

365-
$progressBar->advance();
366365
$progressBar->setMessage('Task is in progress...');
366+
$progressBar->advance();
367367
// 1/100 -- Task is in progress...
368368

369369
Messages can be combined with custom placeholders too. In this example, the

0 commit comments

Comments
 (0)