Skip to content

Commit 41f6716

Browse files
committed
fix: analyse
1 parent 4a41e6e commit 41f6716

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/Http/Resources/ListCategoryResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class ListCategoryResource extends BaseListCategoryResource
2020
*/
2121
public function toArray($request): array
2222
{
23+
/** @var Category $this */
2324
return [
2425
'id' => $this->id,
2526
'name' => $this->name,

src/Http/Resources/ListPostResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class ListPostResource extends BaseListPostResource
2020
*/
2121
public function toArray($request): array
2222
{
23+
/** @var Post $this */
2324
return [
2425
'id' => $this->id,
2526
'name' => $this->name,

0 commit comments

Comments
 (0)