fix: php stan warning
This commit is contained in:
@@ -89,7 +89,7 @@ class SystemInfoService
|
|||||||
if ($this->moduleRegistry !== null) {
|
if ($this->moduleRegistry !== null) {
|
||||||
foreach ($this->moduleRegistry->getModules() as $manifest) {
|
foreach ($this->moduleRegistry->getModules() as $manifest) {
|
||||||
foreach ($manifest->permissions as $perm) {
|
foreach ($manifest->permissions as $perm) {
|
||||||
$key = $perm['key'] ?? '';
|
$key = $perm['key'];
|
||||||
if ($key !== '') {
|
if ($key !== '') {
|
||||||
$moduleKeys[$key] = $manifest->id;
|
$moduleKeys[$key] = $manifest->id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user