@@ -41,8 +41,8 @@ |
||
41 | 41 | public function rules() |
42 | 42 | { |
43 | 43 | return [ |
44 | - '*.id' => 'required|exists:App\Models\ExperienceSkill,id', |
|
45 | - '*.justification' => 'nullable|string', |
|
44 | + '*.id' => 'required|exists:App\Models\ExperienceSkill,id', |
|
45 | + '*.justification' => 'nullable|string', |
|
46 | 46 | ]; |
47 | 47 | } |
48 | 48 | } |
@@ -20,8 +20,8 @@ |
||
20 | 20 | */ |
21 | 21 | public function getProfile(Applicant $applicant) |
22 | 22 | { |
23 | - $applicant->loadMissing('applicant_classifications'); |
|
24 | - return new ApplicantProfileResource($applicant); |
|
23 | + $applicant->loadMissing('applicant_classifications'); |
|
24 | + return new ApplicantProfileResource($applicant); |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
@@ -41,7 +41,7 @@ |
||
41 | 41 | $newApplicantClassifications = collect($validatedRequest['applicant_classifications'])->unique( |
42 | 42 | // Remove all duplicate classification-level combinations from the collection. |
43 | 43 | function ($newApplicantClassification) { |
44 | - return $newApplicantClassification['classification_id'].$newApplicantClassification['level']; |
|
44 | + return $newApplicantClassification['classification_id'] . $newApplicantClassification['level']; |
|
45 | 45 | } |
46 | 46 | ); |
47 | 47 | $oldApplicantClassifications = $applicant->applicant_classifications; |
@@ -17,8 +17,8 @@ |
||
17 | 17 | public function store() |
18 | 18 | { |
19 | 19 | $cookie = Cookie::get('browser_message'); |
20 | - $cookie ? Cookie::queue( Cookie::forget('browser_message')) : ''; // Destroy cookie if already exists. |
|
21 | - Cookie::queue( Cookie::make('browser_message', true, 43800)); // Create new cookie. |
|
20 | + $cookie ? Cookie::queue(Cookie::forget('browser_message')) : ''; // Destroy cookie if already exists. |
|
21 | + Cookie::queue(Cookie::make('browser_message', true, 43800)); // Create new cookie. |
|
22 | 22 | return response()->json(['status' => 'ok']); |
23 | 23 | } |
24 | 24 | } |