@@ -18,13 +18,13 @@ |
||
| 18 | 18 | $this->progressBarWidth = $this->advanceSteps = $progressBarWidth ?? $this->advanceSteps; |
| 19 | 19 | |
| 20 | 20 | $progressAdvance = |
| 21 | - function (): void { |
|
| 21 | + function(): void { |
|
| 22 | 22 | echo '*'; |
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | 25 | $progressFinish = |
| 26 | - function (): void { |
|
| 27 | - echo "\e[" . $this->progressBarWidth . 'D'; |
|
| 26 | + function(): void { |
|
| 27 | + echo "\e[".$this->progressBarWidth.'D'; |
|
| 28 | 28 | echo "\e[K"; |
| 29 | 29 | }; |
| 30 | 30 | |
@@ -33,17 +33,17 @@ |
||
| 33 | 33 | $this->progressBar = new ProgressBar($this->output, $this->advanceSteps); |
| 34 | 34 | $this->progressBar->setBarWidth($this->progressBarWidth); |
| 35 | 35 | $progressStart = |
| 36 | - function (): void { |
|
| 36 | + function(): void { |
|
| 37 | 37 | $this->progressBar->start(); |
| 38 | 38 | }; |
| 39 | 39 | |
| 40 | 40 | $progressAdvance = |
| 41 | - function (): void { |
|
| 41 | + function(): void { |
|
| 42 | 42 | $this->progressBar->advance(); |
| 43 | 43 | }; |
| 44 | 44 | |
| 45 | 45 | $progressFinish = |
| 46 | - function (): void { |
|
| 46 | + function(): void { |
|
| 47 | 47 | $this->progressBar->finish(); |
| 48 | 48 | $this->progressBar->clear(); |
| 49 | 49 | }; |