summaryrefslogtreecommitdiffstats
path: root/modules-available/eventlog/pages/log.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/eventlog/pages/log.inc.php')
-rw-r--r--modules-available/eventlog/pages/log.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/eventlog/pages/log.inc.php b/modules-available/eventlog/pages/log.inc.php
index bfb16d11..66826b08 100644
--- a/modules-available/eventlog/pages/log.inc.php
+++ b/modules-available/eventlog/pages/log.inc.php
@@ -26,7 +26,7 @@ class SubPage
));
}
- private static function typeToIcon($type)
+ private static function typeToIcon(string $type): string
{
switch ($type) {
case 'info':
@@ -40,7 +40,7 @@ class SubPage
}
}
- private static function typeToColor($type)
+ private static function typeToColor(string $type): string
{
switch ($type) {
case 'warning':