@@ -89,7 +89,7 @@ |
||
89 | 89 | /** |
90 | 90 | * Remove reserved fields from form layout. |
91 | 91 | * |
92 | - * @param array $fields |
|
92 | + * @param string[] $fields |
|
93 | 93 | */ |
94 | 94 | public function removeReservedFields(array $fields) |
95 | 95 | { |
@@ -360,7 +360,7 @@ |
||
360 | 360 | /** |
361 | 361 | * Get the html and script of template. |
362 | 362 | * |
363 | - * @return array |
|
363 | + * @return string[] |
|
364 | 364 | */ |
365 | 365 | public function getTemplateHtmlAndScript() |
366 | 366 | { |
@@ -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 | { |
@@ -542,7 +542,7 @@ discard block |
||
542 | 542 | } |
543 | 543 | |
544 | 544 | /** |
545 | - * @return array|Collection|mixed |
|
545 | + * @return Collection |
|
546 | 546 | */ |
547 | 547 | protected function applyQuery() |
548 | 548 | { |
@@ -861,7 +861,7 @@ discard block |
||
861 | 861 | /** |
862 | 862 | * Dynamically add columns to the grid view. |
863 | 863 | * |
864 | - * @param $method |
|
864 | + * @param string $method |
|
865 | 865 | * @param $arguments |
866 | 866 | * |
867 | 867 | * @return Column |
@@ -355,7 +355,7 @@ discard block |
||
355 | 355 | /** |
356 | 356 | * Get name of this column. |
357 | 357 | * |
358 | - * @return mixed |
|
358 | + * @return string |
|
359 | 359 | */ |
360 | 360 | public function getName() |
361 | 361 | { |
@@ -393,7 +393,7 @@ discard block |
||
393 | 393 | /** |
394 | 394 | * Get label of the column. |
395 | 395 | * |
396 | - * @return mixed |
|
396 | + * @return string |
|
397 | 397 | */ |
398 | 398 | public function getLabel() |
399 | 399 | { |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * |
44 | 44 | * @param string $cast |
45 | 45 | * |
46 | - * @return Column|string |
|
46 | + * @return HasHeader |
|
47 | 47 | */ |
48 | 48 | protected function addSorter($cast = null) |
49 | 49 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | * Add a binding to the query. |
28 | 28 | * |
29 | 29 | * @param string $value |
30 | - * @param Model|null $model |
|
30 | + * @param Model $model |
|
31 | 31 | */ |
32 | 32 | public function addBinding($value, Model $model) |
33 | 33 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * Setting default shown columns on grid. |
48 | 48 | * |
49 | - * @param array|string $columns |
|
49 | + * @param string $columns |
|
50 | 50 | * |
51 | 51 | * @return $this |
52 | 52 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Set grid action callback. |
26 | 26 | * |
27 | - * @param Closure|string $actions |
|
27 | + * @param Closure $actions |
|
28 | 28 | * |
29 | 29 | * @return $this |
30 | 30 | */ |
@@ -108,6 +108,7 @@ |
||
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
111 | + * @param string $name |
|
111 | 112 | * @return string |
112 | 113 | */ |
113 | 114 | protected function elementNameWithPrefix($name) |