Skip to content

Commit c067357

Browse files
dimtrovichadhocore
authored andcommitted
Update ProgressBar.php
remove unecessary comment and fix code-stle
1 parent e8b8ec1 commit c067357

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Output/ProgressBar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class ProgressBar
6969
'loader' => '=',
7070
'color' => 'white',
7171
'labelColor' => 'white',
72-
'labelPosition' => 'bottom', // position of the label according to the progress bar (one of 'top', 'bottom', 'left', 'right')
72+
'labelPosition' => 'bottom',
7373
'showPercentage' => true, // in spinner mode, you may not want to display the percentage of the progress because you don't know in advance how long the processing will take (during an asynchronous call for example)
7474
];
7575

@@ -331,7 +331,7 @@ protected function labelFormatted(string $label): string
331331
*/
332332
protected function progressBarFormatted(string $bar, string $number, string $label): string
333333
{
334-
if ($this->options['showPercentage'] !== true) {
334+
if (! $this->options['showPercentage']) {
335335
$number = '';
336336
}
337337

0 commit comments

Comments
 (0)