mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #32841 from nextcloud/backport-32059-stable24
[stable24] Fix issue #31692 of occ files:scan
This commit is contained in:
commit
8188ad5928
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ class Scan extends Base {
|
|||
protected function formatExecTime() {
|
||||
$secs = round($this->execTime);
|
||||
# convert seconds into HH:MM:SS form
|
||||
return sprintf('%02d:%02d:%02d', ($secs / 3600), ($secs / 60 % 60), $secs % 60);
|
||||
return sprintf('%02d:%02d:%02d', (int)($secs / 3600), ((int)($secs / 60) % 60), $secs % 60);
|
||||
}
|
||||
|
||||
protected function reconnectToDatabase(OutputInterface $output): Connection {
|
||||
|
|
|
|||
Loading…
Reference in a new issue