summaryrefslogtreecommitdiffstats
path: root/modules-available/eventlog/pages
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-14 14:47:55 +0100
committerSimon Rettberg2023-11-14 14:47:55 +0100
commit06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0 (patch)
tree7e5493b102074672d8cfd8fe1a61e49f080edbe8 /modules-available/eventlog/pages
parentUpdate phpstorm config (diff)
downloadslx-admin-06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0.tar.gz
slx-admin-06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0.tar.xz
slx-admin-06bff0b9b84d47c43f9bc8aff06a29d85ebb7ed0.zip
Add function param/return types, fix a lot more phpstorm complaints
Diffstat (limited to 'modules-available/eventlog/pages')
-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':