Skip to content

Commit 4b2c1b4

Browse files
nmalevaneceduard13
authored andcommitted
Fix static tests.
1 parent abc3e7c commit 4b2c1b4

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Module/ModuleList

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Module/ModuleList/Loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private function sortBySequence(array $origList): array
134134
$modules = $this->prearrangeModules($origList);
135135

136136
$expanded = [];
137-
foreach ($modules as $moduleName => $value) {
137+
foreach (array_keys($modules) as $moduleName) {
138138
$sequence = $this->expandSequence($origList, $moduleName);
139139
asort($sequence);
140140

0 commit comments

Comments
 (0)