@@ -46,8 +46,7 @@ discard block |
||
| 46 | 46 | * Create a Form instance. |
| 47 | 47 | * |
| 48 | 48 | * @param string $formClass The name of the class that inherits \Kris\LaravelFormBuilder\Form. |
| 49 | - * @param array $options|null |
|
| 50 | - * @param array $data|null |
|
| 49 | + * @param array $options |
|
| 51 | 50 | * @return Form |
| 52 | 51 | */ |
| 53 | 52 | public function create($formClass, array $options = [], array $data = []) |
@@ -73,7 +72,7 @@ discard block |
||
| 73 | 72 | * @param $items |
| 74 | 73 | * @param array $options |
| 75 | 74 | * @param array $data |
| 76 | - * @return mixed |
|
| 75 | + * @return Form |
|
| 77 | 76 | */ |
| 78 | 77 | public function createByArray($items, array $options = [], array $data = []) |
| 79 | 78 | { |
@@ -91,7 +90,7 @@ discard block |
||
| 91 | 90 | } |
| 92 | 91 | |
| 93 | 92 | /** |
| 94 | - * @param $form |
|
| 93 | + * @param Form $form |
|
| 95 | 94 | * @param $items |
| 96 | 95 | */ |
| 97 | 96 | public function buildFormByArray($form, $items) |