We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeed716 commit f59edbbCopy full SHA for f59edbb
src/Response/Factory.php
@@ -38,8 +38,8 @@ public static function build(ResponseInterface $response)
38
if (!empty($included)) {
39
(new LaravelCollection($included))
40
->groupBy('type')
41
- ->each(function ($items) {
42
- (new Collection($items))->cache();
+ ->each(function (LaravelCollection $items) {
+ (new Collection($items->all()))->cache();
43
});
44
}
45
0 commit comments