recipe seeder and factories fix code style

This commit is contained in:
2023-12-21 15:01:03 +03:00
parent abd3b72e2e
commit 4e02272d2c
6 changed files with 18 additions and 14 deletions

View File

@@ -1,17 +1,14 @@
<?php
declare(strict_types=1);
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Seed the application's database.
*
* @return void
*/
public function run()
public function run(): void
{
$this->call(PlanSeeder::class);
$this->call(UserSeeder::class);
@@ -20,6 +17,5 @@ class DatabaseSeeder extends Seeder
$this->call(RecipeSeeder::class);
$this->call(RecipeAuthor::class);
$this->call(RecipeCommentSeeder::class);
// \App\Models\User::factory(10)->create();
}
}