@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * Get or set option for grid. |
| 270 | 270 | * |
| 271 | 271 | * @param string $key |
| 272 | - * @param mixed $value |
|
| 272 | + * @param boolean $value |
|
| 273 | 273 | * |
| 274 | 274 | * @return $this|mixed |
| 275 | 275 | */ |
@@ -454,7 +454,7 @@ discard block |
||
| 454 | 454 | /** |
| 455 | 455 | * Get the grid paginator. |
| 456 | 456 | * |
| 457 | - * @return mixed |
|
| 457 | + * @return Tools\Paginator |
|
| 458 | 458 | */ |
| 459 | 459 | public function paginator() |
| 460 | 460 | { |
@@ -506,7 +506,7 @@ discard block |
||
| 506 | 506 | /** |
| 507 | 507 | * Set grid action callback. |
| 508 | 508 | * |
| 509 | - * @param Closure|string $actions |
|
| 509 | + * @param Closure $actions |
|
| 510 | 510 | * |
| 511 | 511 | * @return $this |
| 512 | 512 | */ |
@@ -838,7 +838,7 @@ discard block |
||
| 838 | 838 | /** |
| 839 | 839 | * Dynamically add columns to the grid view. |
| 840 | 840 | * |
| 841 | - * @param $method |
|
| 841 | + * @param string $method |
|
| 842 | 842 | * @param $arguments |
| 843 | 843 | * |
| 844 | 844 | * @return Column |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | /** |
| 166 | 166 | * Extend column displayer. |
| 167 | 167 | * |
| 168 | - * @param $name |
|
| 168 | + * @param string $name |
|
| 169 | 169 | * @param $displayer |
| 170 | 170 | */ |
| 171 | 171 | public static function extend($name, $displayer) |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | /** |
| 200 | 200 | * Set model for column. |
| 201 | 201 | * |
| 202 | - * @param $model |
|
| 202 | + * @param Model $model |
|
| 203 | 203 | */ |
| 204 | 204 | public function setModel($model) |
| 205 | 205 | { |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | /** |
| 272 | 272 | * Get name of this column. |
| 273 | 273 | * |
| 274 | - * @return mixed |
|
| 274 | + * @return string |
|
| 275 | 275 | */ |
| 276 | 276 | public function getName() |
| 277 | 277 | { |
@@ -299,7 +299,7 @@ discard block |
||
| 299 | 299 | /** |
| 300 | 300 | * Get label of the column. |
| 301 | 301 | * |
| 302 | - * @return mixed |
|
| 302 | + * @return string |
|
| 303 | 303 | */ |
| 304 | 304 | public function getLabel() |
| 305 | 305 | { |
@@ -386,7 +386,7 @@ discard block |
||
| 386 | 386 | * Display using display abstract. |
| 387 | 387 | * |
| 388 | 388 | * @param string $abstract |
| 389 | - * @param array $arguments |
|
| 389 | + * @param Closure[] $arguments |
|
| 390 | 390 | * |
| 391 | 391 | * @return Column |
| 392 | 392 | */ |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | * @param array $replace |
| 162 | 162 | * @param string $locale |
| 163 | 163 | * |
| 164 | - * @return \Illuminate\Contracts\Translation\Translator|string|array|null |
|
| 164 | + * @return string|null |
|
| 165 | 165 | */ |
| 166 | 166 | function admin_trans($key = null, $replace = [], $locale = null) |
| 167 | 167 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | * Delete from array by value. |
| 182 | 182 | * |
| 183 | 183 | * @param array $array |
| 184 | - * @param mixed $value |
|
| 184 | + * @param string $value |
|
| 185 | 185 | */ |
| 186 | 186 | function array_delete(&$array, $value) |
| 187 | 187 | { |