Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ApplicantSkillsController extends Controller |
||
12 | { |
||
13 | public function index(Applicant $applicant) |
||
14 | { |
||
15 | return [ |
||
16 | 'skill_ids' => $applicant->skills->pluck('id')->all() |
||
17 | ]; |
||
18 | } |
||
19 | |||
20 | public function update(UpdateApplicantSkills $request, Applicant $applicant) |
||
32 | // 'deleted_experience_skills' => JsonResource::collection($deletedExperienceSkills), |
||
33 | ]; |
||
36 |