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