@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * Get or set option for grid. |
229 | 229 | * |
230 | 230 | * @param string $key |
231 | - * @param mixed $value |
|
231 | + * @param boolean $value |
|
232 | 232 | * |
233 | 233 | * @return $this|mixed |
234 | 234 | */ |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | /** |
359 | 359 | * Get the grid paginator. |
360 | 360 | * |
361 | - * @return mixed |
|
361 | + * @return Tools\Paginator |
|
362 | 362 | */ |
363 | 363 | public function paginator() |
364 | 364 | { |
@@ -722,7 +722,7 @@ discard block |
||
722 | 722 | * |
723 | 723 | * @param Closure|null $closure |
724 | 724 | * |
725 | - * @return $this|Tools\Footer |
|
725 | + * @return callable |
|
726 | 726 | */ |
727 | 727 | public function footer(Closure $closure = null) |
728 | 728 | { |
@@ -168,7 +168,7 @@ |
||
168 | 168 | * |
169 | 169 | * @param string $target |
170 | 170 | * |
171 | - * @return mixed |
|
171 | + * @return string |
|
172 | 172 | */ |
173 | 173 | protected function getClass($target) : string |
174 | 174 | { |
@@ -331,7 +331,7 @@ |
||
331 | 331 | * |
332 | 332 | * @param Presenter $presenter |
333 | 333 | * |
334 | - * @return mixed |
|
334 | + * @return Presenter |
|
335 | 335 | */ |
336 | 336 | protected function setPresenter(Presenter $presenter) |
337 | 337 | { |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | /** |
189 | 189 | * Field constructor. |
190 | 190 | * |
191 | - * @param $column |
|
191 | + * @param string $column |
|
192 | 192 | * @param array $arguments |
193 | 193 | */ |
194 | 194 | public function __construct($column, $arguments = []) |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | /** |
388 | 388 | * Get or set rules. |
389 | 389 | * |
390 | - * @param null $rules |
|
390 | + * @param string $rules |
|
391 | 391 | * @param array $messages |
392 | 392 | * |
393 | 393 | * @return $this |
@@ -629,8 +629,8 @@ discard block |
||
629 | 629 | /** |
630 | 630 | * Add html attributes to elements. |
631 | 631 | * |
632 | - * @param array|string $attribute |
|
633 | - * @param mixed $value |
|
632 | + * @param string $attribute |
|
633 | + * @param boolean|string $value |
|
634 | 634 | * |
635 | 635 | * @return $this |
636 | 636 | */ |
@@ -8,6 +8,9 @@ |
||
8 | 8 | |
9 | 9 | abstract class Extension |
10 | 10 | { |
11 | + /** |
|
12 | + * @param string $key |
|
13 | + */ |
|
11 | 14 | public static function config($key, $default = null) |
12 | 15 | { |
13 | 16 | $name = array_search(get_called_class(), Admin::$extensions); |