From 75bb0d7999d8551f3aae2fca43f57419680dc930 Mon Sep 17 00:00:00 2001 From: Tan Nguyen Date: Tue, 10 Dec 2024 13:08:15 +0700 Subject: [PATCH] chore: remove redundant docblock --- src/Http/Resources/AuthorResource.php | 2 -- src/Http/Resources/ListPostResource.php | 2 -- src/Http/Resources/TagResource.php | 1 - 3 files changed, 5 deletions(-) diff --git a/src/Http/Resources/AuthorResource.php b/src/Http/Resources/AuthorResource.php index 92c475b..8532606 100644 --- a/src/Http/Resources/AuthorResource.php +++ b/src/Http/Resources/AuthorResource.php @@ -17,8 +17,6 @@ class AuthorResource extends JsonResource */ public function toArray($request): array { - /** @var User $this */ - return [ 'id' => $this->id, 'first_name' => $this->first_name, diff --git a/src/Http/Resources/ListPostResource.php b/src/Http/Resources/ListPostResource.php index c5dda41..b009a73 100644 --- a/src/Http/Resources/ListPostResource.php +++ b/src/Http/Resources/ListPostResource.php @@ -19,8 +19,6 @@ class ListPostResource extends BaseListPostResource */ public function toArray($request): array { - /** @var Post $this */ - return [ 'id' => $this->id, 'name' => $this->name, diff --git a/src/Http/Resources/TagResource.php b/src/Http/Resources/TagResource.php index 929ca31..6ab8171 100644 --- a/src/Http/Resources/TagResource.php +++ b/src/Http/Resources/TagResource.php @@ -17,7 +17,6 @@ class TagResource extends JsonResource */ public function toArray($request): array { - /** @var Tag $this */ return [ 'id' => $this->id, 'name' => $this->name,