diff options
author | Markus Zeller <git@markuszeller.com> | 2022-06-12 15:01:22 +0200 |
---|---|---|
committer | Markus Zeller <git@markuszeller.com> | 2022-11-07 16:44:47 +0100 |
commit | 15289f9737ac0b30e2f617e310691766282c27c7 (patch) | |
tree | 6c4054b99d32552b03d4ea8be8dba5f61ea5a5ae /apps/files/lib | |
parent | ebbc0faf6c3cfb23a7c97b2df1012000964972bc (diff) | |
download | nextcloud-server-15289f9737ac0b30e2f617e310691766282c27c7.tar.gz nextcloud-server-15289f9737ac0b30e2f617e310691766282c27c7.zip |
Cast to int #32837
Signed-off-by: Markus Zeller <git@markuszeller.com>
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/Command/Scan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index f1596fa98a5..710c76de493 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -306,7 +306,7 @@ class Scan extends Base { * @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); } |