Skip to content

Commit ba8dd6a

Browse files
committed
chore: add specification parameter to composed command, allow generator array
1 parent 7c37453 commit ba8dd6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/GenerateComposedCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function __invoke(
7777
// }
7878

7979
$templateGenerators = $this->getGenerators($generators);
80-
foreach ($templateGenerators as $name => $generatorInstance) {
80+
foreach ($templateGenerators as $generator => $generatorInstance) {
8181

8282
// Check if generator supports composed element rendering
8383
if (!method_exists($generatorInstance, 'renderComposedElement')) {

0 commit comments

Comments
 (0)