@@ -15,19 +15,19 @@ |
||
| 15 | 15 | $width = $this->advanceSteps = $this->terminalWidth(); |
| 16 | 16 | if (!$quiet) { |
| 17 | 17 | $progressStart = |
| 18 | - static function () use ($width): void { |
|
| 19 | - echo ' [' . str_repeat('░', $width) . ']'; |
|
| 20 | - echo "\e[" . ($width + 1) . 'D'; |
|
| 18 | + static function() use ($width): void { |
|
| 19 | + echo ' ['.str_repeat('░', $width).']'; |
|
| 20 | + echo "\e[".($width + 1).'D'; |
|
| 21 | 21 | }; |
| 22 | 22 | |
| 23 | 23 | $progressAdvance = |
| 24 | - static function (): void { |
|
| 24 | + static function(): void { |
|
| 25 | 25 | echo '█'; |
| 26 | 26 | }; |
| 27 | 27 | |
| 28 | 28 | $progressFinish = |
| 29 | - static function () use ($width): void { |
|
| 30 | - echo "\e[" . ($width + 1) . 'D'; |
|
| 29 | + static function() use ($width): void { |
|
| 30 | + echo "\e[".($width + 1).'D'; |
|
| 31 | 31 | echo "\e[K"; |
| 32 | 32 | }; |
| 33 | 33 | |