@@ -218,7 +218,7 @@ |
||
| 218 | 218 | */ |
| 219 | 219 | protected function progressBar(int $counter, int $total): void |
| 220 | 220 | { |
| 221 | - $length = (int) ( ($counter/$total) * 100 ); |
|
| 221 | + $length = (int) (($counter / $total) * 100); |
|
| 222 | 222 | $active = ($counter === $total) ? '' : '>'; |
| 223 | 223 | $loadbar = sprintf( |
| 224 | 224 | "\r[%-100s] %d%% (%s/%s)", |