This commit is contained in:
Mark Gregory
2026-04-21 13:25:46 +01:00
parent 51be9e5e11
commit 00b4d14ce4
4 changed files with 20 additions and 5 deletions
+3 -3
View File
@@ -44,7 +44,7 @@ class SupportMakeCommand extends GeneratorCommand
{
$module = $this->laravel['modules']->findOrFail($this->getModuleName());
return (new Stub('/moduleinfo.stub', [
return (new Stub('/Moduleinfo.stub', [
'NAMESPACE' => $this->getClassNamespace($module),
'MODULE' => $this->getModuleName(),
]))->render();
@@ -59,7 +59,7 @@ class SupportMakeCommand extends GeneratorCommand
$pathName = Str::studly($this->option('support'));
if (Str::contains(strtolower($pathName), 'support') === false) {
$pathName .= 'moduleInfo';
$pathName .= 'ModuleInfo';
}
return $pathName;
@@ -76,7 +76,7 @@ class SupportMakeCommand extends GeneratorCommand
protected function getFileName()
{
return 'moduleInfo';
return 'ModuleInfo';
}
/**
@@ -2,7 +2,7 @@
namespace $NAMESPACE$;
class moduleInfo
class ModuleInfo
{
protected static string $moduleName = '$MODULE$';