Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsam726 authored and github-actions[bot] committed Apr 6, 2024
1 parent 16e309e commit 9999e0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Commands/SeederMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class SeederMakeCommand extends \Illuminate\Database\Console\Seeds\SeederMakeCom
use GeneratesModularFiles;

protected $name = 'modular:make-seeder';

protected $description = 'Create a new seeder class in a modular package';

protected function rootNamespace(): string
Expand All @@ -25,6 +26,7 @@ protected function getDefaultNamespace($rootNamespace): string
protected function getPath($name): string
{
$name = str_replace('\\', '/', Str::replaceFirst($this->rootNamespace(), '', $name));

return $this->getModule()->seedersPath($name.'.php');
}
}

0 comments on commit 9999e0c

Please sign in to comment.