Skip to content

Commit f3ef9dc

Browse files
committed
The name of the placeholder must not be encapsulated in %
1 parent fb0e79c commit f3ef9dc

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
@@ -290,7 +290,7 @@ create your own. Let's see how you can create a ``remaining_steps`` placeholder
290290
that displays the number of remaining steps::
291291

292292
ProgressBar::setPlaceholderFormatterDefinition(
293-
'%remaining_steps%',
293+
'remaining_steps',
294294
function (ProgressBar $bar, OutputInterface $output) {
295295
return $bar->getMaxSteps() - $bar->getStep();
296296
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy