Skip to content

Commit

Permalink
Fix deprecation for PHP 8.1
Browse files Browse the repository at this point in the history
Closes #3448
  • Loading branch information
andypost committed Oct 31, 2021
1 parent f268ca4 commit f1fc1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/Timing.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static function printRunTime($force=false)

if ($time > 60000) {
$mins = floor($time / 60000);
$secs = round((($time % 60000) / 1000), 2);
$secs = round((fmod($time, 60000) / 1000), 2);
$time = $mins.' mins';
if ($secs !== 0) {
$time .= ", $secs secs";
Expand Down

0 comments on commit f1fc1bf

Please sign in to comment.