| Total Complexity | 3 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 9 | class CommentCollection extends ResourceCollection | ||
| 10 | { | ||
| 11 | /** | ||
| 12 | * DO NOT REMOVE! This will preserver keys from being filtered in data | ||
| 13 | * | ||
| 14 | * @var bool | ||
| 15 | */ | ||
| 16 | protected $preserveKeys = true; | ||
| 17 | |||
| 18 | protected Guide|Job $owner; | ||
| 19 | |||
| 20 | public function setOwner(Guide|Job $owner): static | ||
| 21 |     { | ||
| 22 | $this->owner = $owner; | ||
| 23 | |||
| 24 | return $this; | ||
| 25 | } | ||
| 26 | |||
| 27 | /** | ||
| 28 | * Transform the resource collection into an array. | ||
| 29 | * | ||
| 30 | * @param \Illuminate\Http\Request $request | ||
| 31 | * @return array | ||
| 32 | */ | ||
| 33 | public function toArray($request) | ||
| 51 | } | ||
| 52 | } | ||
| 53 | 
This check looks for imports that have been defined, but are not used in the scope.