@@ -3,14 +3,14 @@ |
||
3 | 3 | |
4 | 4 | class SeederCommand extends BaseCommand { |
5 | 5 | |
6 | - protected $signature = 'wn:seeder |
|
6 | + protected $signature = 'wn:seeder |
|
7 | 7 | {model : full qualified name of the model} |
8 | 8 | {--count=10 : number of elements to add in database} |
9 | 9 | {--force= : override the existing files} |
10 | 10 | {--ns=App\Models : model namespace } |
11 | 11 | '; |
12 | 12 | |
13 | - protected $description = 'Generates a seeder'; |
|
13 | + protected $description = 'Generates a seeder'; |
|
14 | 14 | |
15 | 15 | public function handle() |
16 | 16 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | public function handle() |
16 | 16 | { |
17 | - $model = $this->option('ns').'\\'.$this->argument('model'); |
|
17 | + $model = $this->option('ns') . '\\' . $this->argument('model'); |
|
18 | 18 | $name = $this->getSeederName($model); |
19 | 19 | $file = "./database/seeds/{$name}.php"; |
20 | 20 |