Skip to content

Commit

Permalink
#34 - cr fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilpiech97 committed Nov 7, 2023
1 parent 7cbc437 commit 315eeb2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/Http/Requests/SettingRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ class SettingRequest extends FormRequest
public function rules(): array
{
return [
"teacher_name" => ["nullable", "max:255"],
"teacher_email" => ["nullable", "email", "max:255"],
"teacher_titles" => ["nullable", "max:255"],
"university_name" => ["nullable", "max:255"],
"department_name" => ["nullable", "max:255"],
"teacher_name" => ["required", "max:255"],
"teacher_email" => ["required", "email", "max:255"],
"teacher_titles" => ["required", "max:255"],
"university_name" => ["required", "max:255"],
"department_name" => ["required", "max:255"],
];
}
}

0 comments on commit 315eeb2

Please sign in to comment.