Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Cast to int #32837
Signed-off-by: Markus Zeller <[email protected]>
  • Loading branch information
markuszeller authored and backportbot-nextcloud[bot] committed Nov 8, 2022
commit cffa3673f14b4a09c3a9e5901af4c9b4fc438c2f
2 changes: 1 addition & 1 deletion apps/files/lib/Command/Scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ protected function showSummary($headers, $rows, OutputInterface $output) {
* @return string
*/
protected function formatExecTime() {
$secs = round($this->execTime);
$secs = (int)round($this->execTime);
# convert seconds into HH:MM:SS form
return sprintf('%02d:%02d:%02d', (int)($secs / 3600), ((int)($secs / 60) % 60), $secs % 60);
}
Expand Down