Skip to content

Commit bebe5b4

Browse files
authored
Merge pull request #1982 from alissn/FixCreateModuleLogic
Reset Static Variable for Module Creation
2 parents 7e52dd9 + ce16a7b commit bebe5b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generators/ModuleGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ public function generate(): int
298298

299299
if ($this->type !== 'plain') {
300300
$this->generateFiles();
301+
$this->module->resetModules();
301302
$this->generateResources();
302303
}
303304

0 commit comments

Comments
 (0)