Skip to content

Commit 8fb8706

Browse files
authored
the collection property can be null (#57807)
1 parent f04fb3a commit 8fb8706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ResourceCollection extends JsonResource implements Countable, IteratorAggr
2323
/**
2424
* The mapped collection instance.
2525
*
26-
* @var \Illuminate\Support\Collection
26+
* @var \Illuminate\Support\Collection|null
2727
*/
2828
public $collection;
2929

0 commit comments

Comments
 (0)