@@ -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); |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | /** |
| 59 | 59 | * User logout. |
| 60 | 60 | * |
| 61 | - * @return Redirect |
|
| 61 | + * @return \Illuminate\Http\RedirectResponse |
|
| 62 | 62 | */ |
| 63 | 63 | public function getLogout() |
| 64 | 64 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * User setting page. |
| 74 | 74 | * |
| 75 | - * @return mixed |
|
| 75 | + * @return Content |
|
| 76 | 76 | */ |
| 77 | 77 | public function getSetting() |
| 78 | 78 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param array|callable|string $options |
| 40 | 40 | * |
| 41 | - * @return $this|mixed |
|
| 41 | + * @return Select |
|
| 42 | 42 | */ |
| 43 | 43 | public function options($options = []) |
| 44 | 44 | { |
@@ -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,7 +629,7 @@ discard block |
||
| 629 | 629 | /** |
| 630 | 630 | * Add html attributes to elements. |
| 631 | 631 | * |
| 632 | - * @param array|string $attribute |
|
| 632 | + * @param string $attribute |
|
| 633 | 633 | * @param mixed $value |
| 634 | 634 | * |
| 635 | 635 | * @return $this |