Skip to content

Commit f2380aa

Browse files
committed
Fix elapsed time format for result cache restore time
1 parent 17d4a03 commit f2380aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Analyser/ResultCache/ResultCacheManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public function restore(array $allAnalysedFiles, bool $debug, bool $onlyFiles, ?
297297
if ($output->isVeryVerbose()) {
298298
$elapsed = microtime(true) - $startTime;
299299
$elapsedString = $elapsed > 5
300-
? sprintf(' in %f seconds', round($elapsed, 1))
300+
? sprintf(' in %.1f seconds', $elapsed)
301301
: '';
302302

303303
$output->writeLineFormatted(sprintf(

0 commit comments

Comments
 (0)