@@ -13,13 +13,13 @@ class ProductCategorySeeder extends Seeder
1313 */
1414 public function run (): void
1515 {
16- ProductCategory::create (['name ' => 'Electronics ' , 'description ' => 'Gadgets, devices, and home appliances. ' ]);
17- ProductCategory::create (['name ' => 'Clothing ' , 'description ' => 'Men’s, women’s, and kids’ fashion. ' ]);
18- ProductCategory::create (['name ' => 'Books ' , 'description ' => 'Fiction, non-fiction, and educational books. ' ]);
19- ProductCategory::create (['name ' => 'Home & Kitchen ' , 'description ' => 'Furniture, kitchen appliances, and decor. ' ]);
20- ProductCategory::create (['name ' => 'Sports & Outdoors ' , 'description ' => 'Sporting goods and outdoor equipment. ' ]);
21- ProductCategory::create (['name ' => 'Health & Beauty ' , 'description ' => 'Skincare, fitness equipment, and more. ' ]);
22- ProductCategory::create (['name ' => 'Toys & Games ' , 'description ' => 'Kids toys, video games, and board games. ' ]);
16+ ProductCategory::factory ()-> create (['name ' => 'Electronics ' , 'description ' => 'Gadgets, devices, and home appliances. ' ]);
17+ ProductCategory::factory ()-> create (['name ' => 'Clothing ' , 'description ' => 'Men’s, women’s, and kids’ fashion. ' ]);
18+ ProductCategory::factory ()-> create (['name ' => 'Books ' , 'description ' => 'Fiction, non-fiction, and educational books. ' ]);
19+ ProductCategory::factory ()-> create (['name ' => 'Home & Kitchen ' , 'description ' => 'Furniture, kitchen appliances, and decor. ' ]);
20+ ProductCategory::factory ()-> create (['name ' => 'Sports & Outdoors ' , 'description ' => 'Sporting goods and outdoor equipment. ' ]);
21+ ProductCategory::factory ()-> create (['name ' => 'Health & Beauty ' , 'description ' => 'Skincare, fitness equipment, and more. ' ]);
22+ ProductCategory::factory ()-> create (['name ' => 'Toys & Games ' , 'description ' => 'Kids toys, video games, and board games. ' ]);
2323
2424 }
2525}
0 commit comments