From bb0cd7319ffc0c8aab123c5a02c80bc71836c10c Mon Sep 17 00:00:00 2001 From: fs Date: Sun, 22 Mar 2026 16:28:09 +0100 Subject: [PATCH] fix: php stan warning --- lib/Service/System/SystemInfoService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/System/SystemInfoService.php b/lib/Service/System/SystemInfoService.php index 7257080..65ad2a1 100644 --- a/lib/Service/System/SystemInfoService.php +++ b/lib/Service/System/SystemInfoService.php @@ -89,7 +89,7 @@ class SystemInfoService if ($this->moduleRegistry !== null) { foreach ($this->moduleRegistry->getModules() as $manifest) { foreach ($manifest->permissions as $perm) { - $key = $perm['key'] ?? ''; + $key = $perm['key']; if ($key !== '') { $moduleKeys[$key] = $manifest->id; }