@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | protected function setupPaginationForReading() |
| 25 | 25 | { |
| 26 | - Paginator::currentPageResolver(function () { |
|
| 26 | + Paginator::currentPageResolver(function() { |
|
| 27 | 27 | if (version_compare(App::version(), '6.0', '>=')) { |
| 28 | 28 | return \Illuminate\Support\Facades\Request::input("$this->input_key.page", 1); |
| 29 | 29 | } else { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | if (isset($input['page'])) { |
| 55 | 55 | unset($input['page']); |
| 56 | 56 | } |
| 57 | - return str_replace('/?', '?',$paginator->appends($this->input_key, $input)->render()); |
|
| 57 | + return str_replace('/?', '?', $paginator->appends($this->input_key, $input)->render()); |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | public function initialize(Grid $grid) |