Skip to content

Commit

Permalink
Merge pull request #52 from iranimij/iranimij-patch-1
Browse files Browse the repository at this point in the history
Update ModuleXmlComponentDetector.php
  • Loading branch information
jissereitsma authored Apr 10, 2024
2 parents 069f466 + b283096 commit 65706cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ComponentDetector/ModuleXmlComponentDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ public function getComponentsByModuleName(string $moduleName): array
throw new NotFoundException(__('Module "' . $moduleName . '" not found'));
}

if (empty($moduleInfo['sequence'])) {
throw new NotFoundException(__('No dependencies for "' . $moduleName . '" found in module.xml'));
}

foreach ($moduleInfo['sequence'] as $sequenceModuleName) {
$components[] = $this->componentFactory->createByModuleName($sequenceModuleName, false);
}
Expand Down

0 comments on commit 65706cf

Please sign in to comment.