diff --git a/.idea/git_toolbox_prj.xml b/.idea/git_toolbox_prj.xml
new file mode 100644
index 0000000..02b915b
--- /dev/null
+++ b/.idea/git_toolbox_prj.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
index 29059d0..62bc403 100644
--- a/.idea/php.xml
+++ b/.idea/php.xml
@@ -10,7 +10,7 @@
-
+
diff --git a/src/Commands/SupportMakeCommand.php b/src/Commands/SupportMakeCommand.php
index e152a75..cad983d 100755
--- a/src/Commands/SupportMakeCommand.php
+++ b/src/Commands/SupportMakeCommand.php
@@ -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';
}
/**
diff --git a/src/Commands/stubs/moduleinfo.stub b/src/Commands/stubs/Moduleinfo.stub
similarity index 96%
rename from src/Commands/stubs/moduleinfo.stub
rename to src/Commands/stubs/Moduleinfo.stub
index edd2029..9aa383d 100755
--- a/src/Commands/stubs/moduleinfo.stub
+++ b/src/Commands/stubs/Moduleinfo.stub
@@ -2,7 +2,7 @@
namespace $NAMESPACE$;
-class moduleInfo
+class ModuleInfo
{
protected static string $moduleName = '$MODULE$';