| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function toArray($request) |
||
| 17 | { |
||
| 18 | return array_merge(parent::toArray($request), [ |
||
| 19 | 'applicant' => new ApplicantResource($this->whenLoaded('applicant')), |
||
| 20 | 'application_review' => new JsonResource($this->whenLoaded('application_review')), |
||
| 21 | 'citizenship_declaration' => new JsonResource($this->whenLoaded('citizenship_declaration')), |
||
| 22 | 'veteran_status' => new JsonResource($this->whenLoaded('veteran_status')), |
||
| 23 | ]); |
||
| 26 |