v1.7.2
Paginated resources that carry the query string onto their links now type correctly without a warning.
Fixed
- Pass-through paginator methods are classified correctly —
Resource::collection($query->paginate()->withQueryString())(andappends,withPath,setPageName,fragment,onEachSide) now resolves to the right envelope by looking through the pass-through to the underlyingpaginate/simplePaginate/cursorPaginate. Previously the outer pass-through call defeated the classifier, so the prop warned and typed as a bare array. - A
@ferrypin silences the unresolved-paginator warning — pinning a prop to an explicit paginator type (e.g.LengthAwarePaginated<SomeResource>) now clears the classifier warning as well as setting the type, so an explicit pin fully answers anything the classifier can't decide.