We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79cdb18 + 6ec5cbf commit 26c0716Copy full SHA for 26c0716
src/Generators/ModuleGenerator.php
@@ -304,6 +304,7 @@ public function generate(): int
304
305
if ($this->type === 'plain') {
306
$this->cleanModuleJsonFile();
307
+ $this->module->resetModules();
308
}
309
310
$this->activator->setActiveByName($name, $this->isActive);
@@ -489,7 +490,7 @@ protected function getReplacement($stub): array
489
490
if (method_exists($this, $method = 'get'.ucfirst(Str::studly(strtolower($key))).'Replacement')) {
491
$replace = $this->$method();
492
- if($stub === 'routes/web' || $stub === 'routes/api' ){
493
+ if ($stub === 'routes/web' || $stub === 'routes/api') {
494
$replace = str_replace('\\\\', '\\', $replace);
495
496
0 commit comments