Skip to content

Commit e409eac

Browse files
dimtrovichadhocore
authored andcommitted
style: remove unecessaty comment on Progress
1 parent c067357 commit e409eac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Output/ProgressBar.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,20 +338,20 @@ protected function progressBarFormatted(string $bar, string $number, string $lab
338338
$progress = [];
339339
if ($this->options['labelPosition'] === 'left') {
340340
// display : ====> Label 50%
341-
$progress[] = '<' . $this->options['color'] . '>' . $bar . '</end> '; // bar
342-
$progress[] = '<' . $this->options['labelColor'] . '>' . $label . '</end> '; // label
343-
$progress[] = '<' . $this->options['color'] . '>' . $number . '</end>'; // percentage
341+
$progress[] = '<' . $this->options['color'] . '>' . $bar . '</end> ';
342+
$progress[] = '<' . $this->options['labelColor'] . '>' . $label . '</end> ';
343+
$progress[] = '<' . $this->options['color'] . '>' . $number . '</end>';
344344
} else if ($this->options['labelPosition'] === 'top') {
345345
// display :Label
346346
// ====> 50%
347-
$progress[] = '<' . $this->options['labelColor'] . '>' . $label . "\n" . '</end>'; // label
347+
$progress[] = '<' . $this->options['labelColor'] . '>' . $label . "\n" . '</end>';
348348
$progress[] = '<' . $this->options['color'] . '>' . $bar . ' ' . $number . '</end>'; // bar + percentage
349349
} else {
350350
// display (on right) : ====> 50% Label
351351
// display (on bottom): ====> 50%
352352
// Label
353353
$progress[] = '<' . $this->options['color'] . '>' . $bar . ' ' . $number . '</end> '; // bar + percentage
354-
$progress[] = '<' . $this->options['labelColor'] . '>' . $label . '</end>'; // label
354+
$progress[] = '<' . $this->options['labelColor'] . '>' . $label . '</end>';
355355
}
356356

357357
return implode('', $progress);

0 commit comments

Comments
 (0)