diff --git a/src/Commands/stubs/scaffold/provider.stub b/src/Commands/stubs/scaffold/provider.stub index 0a6e9a8a..c451e30a 100644 --- a/src/Commands/stubs/scaffold/provider.stub +++ b/src/Commands/stubs/scaffold/provider.stub @@ -90,7 +90,7 @@ class $CLASS$ extends ServiceProvider $configKey = $this->nameLower . '.' . str_replace([DIRECTORY_SEPARATOR, '.php'], ['.', ''], $relativePath); $key = ($relativePath === 'config.php') ? $this->nameLower : $configKey; - $this->publishes([$file->getPathname() => config_path($relativePath)], $configPath); + $this->publishes([$file->getPathname() => config_path($relativePath)], 'config'); $this->mergeConfigFrom($file->getPathname(), $key); } }