public function rules(): array
{
return [
'name' => 'required|string|max:255',
'email' => [
'required',
'email',
'string',
Rule::unique('users')->ignore(1),
],
];
}
composer dump-autoload
php artisan config:clear