Skip to content

Commit 77c0f94

Browse files
EWoutersst3iny
andauthored
Update apps/files/lib/Command/ScanAppData.php
Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud> Signed-off-by: EWouters <6179932+EWouters@users.noreply.github.com>
1 parent 5cc8dbe commit 77c0f94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files/lib/Command/ScanAppData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ protected function showSummary($headers, $rows, OutputInterface $output) {
240240
protected function formatExecTime() {
241241
$secs = round($this->execTime);
242242
# convert seconds into HH:MM:SS form
243-
return sprintf('%02d:%02d:%02d', intdiv($secs, 3600), intdiv($secs, 60) % 60, $secs % 60);
243+
return sprintf('%02d:%02d:%02d', (int)($secs / 3600), ((int)($secs / 60) % 60), (int)$secs % 60);
244244
}
245245

246246
protected function reconnectToDatabase(OutputInterface $output): Connection {

0 commit comments

Comments
 (0)