fix: php stan warning

This commit is contained in:
2026-03-22 16:28:09 +01:00
parent 7e2a1215d2
commit bb0cd7319f

View File

@@ -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;
}