@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | * Get or set option for grid. |
| 261 | 261 | * |
| 262 | 262 | * @param string $key |
| 263 | - * @param mixed $value |
|
| 263 | + * @param boolean $value |
|
| 264 | 264 | * |
| 265 | 265 | * @return $this|mixed |
| 266 | 266 | */ |
@@ -450,7 +450,7 @@ discard block |
||
| 450 | 450 | /** |
| 451 | 451 | * Get the grid paginator. |
| 452 | 452 | * |
| 453 | - * @return mixed |
|
| 453 | + * @return Tools\Paginator |
|
| 454 | 454 | */ |
| 455 | 455 | public function paginator() |
| 456 | 456 | { |
@@ -502,7 +502,7 @@ discard block |
||
| 502 | 502 | /** |
| 503 | 503 | * Set grid action callback. |
| 504 | 504 | * |
| 505 | - * @param Closure|string $actions |
|
| 505 | + * @param Closure $actions |
|
| 506 | 506 | * |
| 507 | 507 | * @return $this |
| 508 | 508 | */ |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | * |
| 53 | 53 | * @param bool $toArray |
| 54 | 54 | * |
| 55 | - * @return array|Collection|mixed |
|
| 55 | + * @return Collection |
|
| 56 | 56 | */ |
| 57 | 57 | public function processFilter($toArray = true) |
| 58 | 58 | { |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | */ |
| 62 | 62 | public function render() |
| 63 | 63 | { |
| 64 | - $columns = $this->getGrid()->columns()->flatMap(function (Column $column) { |
|
| 64 | + $columns = $this->getGrid()->columns()->flatMap(function(Column $column) { |
|
| 65 | 65 | |
| 66 | 66 | $name = $column->getName(); |
| 67 | 67 | |