diff --git a/src/Commands/stubs/resource.stub b/src/Commands/stubs/resource.stub index 6a1f18390..3ba4b154d 100644 --- a/src/Commands/stubs/resource.stub +++ b/src/Commands/stubs/resource.stub @@ -8,11 +8,8 @@ class $CLASS$ extends JsonResource { /** * Transform the resource into an array. - * - * @param \Illuminate\Http\Request - * @return array */ - public function toArray($request) + public function toArray($request): array { return parent::toArray($request); }