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.
2 parents 36198ca + 69d30b2 commit c9336e5Copy full SHA for c9336e5
src/Repositories/Repository.php
@@ -627,7 +627,7 @@ public function indexAsArray(RestifyRequest $request): array
627
$paginator = RepositorySearchService::make()->search($request, $this)
628
->paginate($request->pagination()->perPage ?? static::$defaultPerPage, page: $request->pagination()->page);
629
630
- $items = $this->indexCollection($request, $paginator->getCollection())->map(function ($value) use ($request) {
+ $items = $this->indexCollection($request, $paginator->getCollection())->map(function ($value) {
631
$repository = static::resolveWith($value);
632
// Ensure each resolved repository maintains the original request
633
0 commit comments