Skip to content

Commit

Permalink
Update @param annotation for wrap method to include Collection type
Browse files Browse the repository at this point in the history
  • Loading branch information
salehhashemi1992 committed Oct 16, 2023
1 parent 2f88a30 commit 2e1ea07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Http/Resources/Json/ResourceResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function toResponse($request)
/**
* Wrap the given data if necessary.
*
* @param array $data
* @param array|Collection $data
* @param array $with
* @param array $additional
* @return array
Expand Down

0 comments on commit 2e1ea07

Please sign in to comment.