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 authored Oct 18, 2023
1 parent 2a4c30c commit 10ba03e
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 \Illuminate\Support\Collection|array $data
* @param array $with
* @param array $additional
* @return array
Expand Down

0 comments on commit 10ba03e

Please sign in to comment.