@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * |
| 135 | 135 | * @param string $key |
| 136 | 136 | * @param $default |
| 137 | - * @return mixed |
|
| 137 | + * @return integer |
|
| 138 | 138 | */ |
| 139 | 139 | public function getValue($key, $default = null) |
| 140 | 140 | { |
@@ -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 | return Request::input("$this->input_key.page", 1); |
| 28 | 28 | }); |
| 29 | 29 | } |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | if (isset($input['page'])) { |
| 51 | 51 | unset($input['page']); |
| 52 | 52 | } |
| 53 | - return str_replace('/?', '?',$paginator->appends($this->input_key, $input)->render()); |
|
| 53 | + return str_replace('/?', '?', $paginator->appends($this->input_key, $input)->render()); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | public function initialize(Grid $grid) |