From 05bc1e6f36e2ede2786096f3dc5970a98060c340 Mon Sep 17 00:00:00 2001 From: Solomon Ochepa Date: Fri, 20 Oct 2023 16:50:53 -0700 Subject: [PATCH] Update resource-collection.stub Format to the current Laravel standard. --- src/Commands/stubs/resource-collection.stub | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); }