diff --git a/src/Domain/Package/Config/ModuleXml.php b/src/Domain/Package/Config/ModuleXml.php index f4cef46..56a69a2 100644 --- a/src/Domain/Package/Config/ModuleXml.php +++ b/src/Domain/Package/Config/ModuleXml.php @@ -75,7 +75,8 @@ private function parseModuleXmlFile(): void $this->content['module']['sequence'] = []; foreach ($content->module->sequence->children() as $module) { - $this->content['module']['sequence'][] = (string)current(current($module->attributes())); + $moduleName = get_mangled_object_vars($module->attributes())['@attributes']['name']; + $this->content['module']['sequence'][] = $moduleName; } } }