@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
69 | - * @param array $rules |
|
69 | + * @param mixes[] $rules |
|
70 | 70 | * @param string $fieldName |
71 | 71 | */ |
72 | 72 | public function setFieldRules(array $rules, $fieldName = null) { |
@@ -90,9 +90,7 @@ discard block |
||
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | - * @param array $rules |
|
94 | - * @param array $attributes |
|
95 | - * @param array $messages |
|
93 | + * @param Rules $rules |
|
96 | 94 | */ |
97 | 95 | public function append($rules) { |
98 | 96 | if (is_array($rules)) { |
@@ -321,7 +321,7 @@ discard block |
||
321 | 321 | /** |
322 | 322 | * Take another form and add it's fields directly to this form. |
323 | 323 | * |
324 | - * @param mixed $class Form to merge. |
|
324 | + * @param Form $class Form to merge. |
|
325 | 325 | * @param array $options |
326 | 326 | * @param boolean $modify |
327 | 327 | * @return $this |
@@ -538,7 +538,7 @@ discard block |
||
538 | 538 | * Set single form option on form. |
539 | 539 | * |
540 | 540 | * @param string $option |
541 | - * @param mixed $value |
|
541 | + * @param boolean $value |
|
542 | 542 | * |
543 | 543 | * @return $this |
544 | 544 | */ |
@@ -1047,7 +1047,7 @@ discard block |
||
1047 | 1047 | /** |
1048 | 1048 | * Get template from options if provided, otherwise fallback to config. |
1049 | 1049 | * |
1050 | - * @return mixed |
|
1050 | + * @return string |
|
1051 | 1051 | */ |
1052 | 1052 | protected function getTemplate() |
1053 | 1053 | { |