Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix doc-block style
  • Loading branch information
TimKunze96 committed Mar 20, 2025
commit b7d076826b93b58c84ee24d86f378ff96cdb9716
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ public function toQuery()
/**
* Create a new resource collection instance for the given resource.
*
* @param class-string<JsonResource> $resourceClass
* @param class-string<JsonResource> $resourceClass
* @return ResourceCollection
*/
public function toResourceCollection(string $resourceClass): ResourceCollection
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -2464,7 +2464,7 @@ public function __wakeup()
/**
* Create a new resource object for the given resource.
*
* @param class-string<JsonResource> $resourceClass
* @param class-string<JsonResource> $resourceClass
* @return JsonResource
*/
public function toResource(string $resourceClass): JsonResource
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Pagination/AbstractPaginator.php
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ public function __toString()
/**
* Create a paginated resource collection.
*
* @param class-string<JsonResource> $resourceClass
* @param class-string<JsonResource> $resourceClass
* @return ResourceCollection
*/
public function toResourceCollection(string $resourceClass): ResourceCollection
Expand Down
Loading