styling
This commit is contained in:
parent
6ac725c582
commit
6842e9cb00
@ -21,13 +21,13 @@ class SampleData extends Seeder
|
|||||||
{
|
{
|
||||||
Model::reguard();
|
Model::reguard();
|
||||||
|
|
||||||
$count = $this->command->option('count');
|
$count = (int) $this->command->option('count');
|
||||||
|
|
||||||
factory(Contact::class, (int)$count)->create();
|
factory(Contact::class, $count)->create();
|
||||||
factory(Item::class, (int)$count)->create();
|
factory(Item::class, $count)->create();
|
||||||
factory(Account::class, (int)$count)->create();
|
factory(Account::class, $count)->create();
|
||||||
factory(Bill::class, (int)$count)->create();
|
factory(Bill::class, $count)->create();
|
||||||
factory(Invoice::class, (int)$count)->create();
|
factory(Invoice::class, $count)->create();
|
||||||
|
|
||||||
Model::unguard();
|
Model::unguard();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user