We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 527fa73 commit 2c2fc33Copy full SHA for 2c2fc33
src/Component/Progress/SimpleBar.php
@@ -76,7 +76,7 @@ public static function gen(int $total, array $opts = []): Generator
76
}
77
78
$current += $step;
79
- $percent = ceil(($current / $total) * 100);
+ $percent = (int)ceil(($current / $total) * 100);
80
81
if ($percent >= 100) {
82
$msg = $doneMsg ?: $msg;
0 commit comments