Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/JsonApiResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function with($request)
/**
* TODO this may be removed once all supported versions have `newCollection`.
*
* @return JsonApiResourceCollection<int, mixed>
* @return JsonApiResourceCollection
*/
public static function collection(mixed $resource)
{
Expand All @@ -164,7 +164,7 @@ public static function collection(mixed $resource)
}

/**
* @return JsonApiResourceCollection<int, mixed>
* @return JsonApiResourceCollection
*/
public static function newCollection(mixed $resource)
{
Expand Down