Removed unnecessary comments and updated UserSeeder
This commit is contained in:
@@ -8,18 +8,8 @@ use Illuminate\Support\Facades\Hash;
|
||||
|
||||
class UserSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
public function run(): void
|
||||
{
|
||||
User::query()
|
||||
->create([
|
||||
'name' => 'Kamil Niemczycki',
|
||||
'email' => 'admin@admin.pl',
|
||||
'password' => Hash::make('password123^')
|
||||
]);
|
||||
User::factory(['email' => 'admin@admin.pl'])->create();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user