Skip to content

Commit 41e15f7

Browse files
committed
Cast to int #32837
1 parent ebbc0fa commit 41e15f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/lib/Command/Scan.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ protected function showSummary($headers, $rows, OutputInterface $output) {
306306
* @return string
307307
*/
308308
protected function formatExecTime() {
309-
$secs = round($this->execTime);
309+
$secs = (int)round($this->execTime);
310310
# convert seconds into HH:MM:SS form
311311
return sprintf('%02d:%02d:%02d', (int)($secs / 3600), ((int)($secs / 60) % 60), $secs % 60);
312312
}

0 commit comments

Comments
 (0)