@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | // Validate job application answer. |
| 31 | 31 | $validatedData = $request->validate([ |
| 32 | - 'answer' => 'required|nullable|string', |
|
| 32 | + 'answer' => 'required|nullable|string', |
|
| 33 | 33 | ]); |
| 34 | 34 | |
| 35 | 35 | // Update existing object with data and save to db. |
@@ -249,7 +249,7 @@ |
||
| 249 | 249 | $rules = $this->addNestedValidatorRules( |
| 250 | 250 | 'job_application_answers.*', |
| 251 | 251 | $answerValidator->rules(), |
| 252 | - [ 'job_application_answers.*.answer' => ['required', 'string', new WordLimitRule(250)]] |
|
| 252 | + ['job_application_answers.*.answer' => ['required', 'string', new WordLimitRule(250)]] |
|
| 253 | 253 | ); |
| 254 | 254 | |
| 255 | 255 | // Validate that each question has been answered. |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | 'application' => $application, |
| 40 | 40 | 'application_template' => Lang::get( |
| 41 | 41 | 'applicant/application_template', |
| 42 | - ['security_clearance' => $jobPoster->security_clearance->value ] |
|
| 42 | + ['security_clearance' => $jobPoster->security_clearance->value] |
|
| 43 | 43 | ), |
| 44 | 44 | 'jobPoster' => $jobPoster, |
| 45 | 45 | ] |