summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Dashboard/Manager.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/private/Dashboard/Manager.php b/lib/private/Dashboard/Manager.php
index 9f94a6e8f92..09525693b4f 100644
--- a/lib/private/Dashboard/Manager.php
+++ b/lib/private/Dashboard/Manager.php
@@ -101,10 +101,12 @@ class Manager implements IManager {
$duration = $endTime - $startTime;
if ($duration > 1) {
\OC::$server->get(LoggerInterface::class)->error(
- 'Dashboard widget {widget} took {duration} seconds to load.', [
- 'widget' => $widget->getId(),
- 'duration' => round($duration, 2),
- ]);
+ 'Dashboard widget {widget} took {duration} seconds to load.',
+ [
+ 'widget' => $widget->getId(),
+ 'duration' => round($duration, 2),
+ ]
+ );
}
} catch (Throwable $e) {
\OC::$server->get(LoggerInterface::class)->critical(