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 4d3873d commit 951f1a9Copy full SHA for 951f1a9
src/Datatables/Paginator/PaginatedResourceResponse.php
@@ -31,7 +31,7 @@ protected function paginationInformation($request)
31
'next' => $paginator->nextPageUrl(),
32
'previous' => $paginator->previousPageUrl(),
33
],
34
- 'meta' => Arr::get($this->meta($paginated),'meta'),
+ 'meta' => Arr::get($this->meta($paginated), 'meta'),
35
];
36
37
if (method_exists($this->resource, 'paginationInformation')) {
@@ -50,7 +50,7 @@ protected function getCustomPaginatorLinks(LengthAwarePaginator $paginator): Col
50
$windowTruncated = $window;
51
52
// First limit the items
53
- if($isLongPagination){
+ if ($isLongPagination) {
54
$windowTruncated = collect($window)
55
->map(function ($item, $key) use ($isLongPagination) {
56
if ($key == 'first') {
0 commit comments