Skip to content

Commit 10ba03e

Browse files
Update @param annotation for wrap method to include Collection type (#48746)
1 parent 2a4c30c commit 10ba03e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Http/Resources/Json/ResourceResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function toResponse($request)
5353
/**
5454
* Wrap the given data if necessary.
5555
*
56-
* @param array $data
56+
* @param \Illuminate\Support\Collection|array $data
5757
* @param array $with
5858
* @param array $additional
5959
* @return array

0 commit comments

Comments
 (0)