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,