@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | * The callback can opt out of handling specific responses by returning NULL, |
| 495 | 495 | * in which case the default form behaviour will kick in. |
| 496 | 496 | * |
| 497 | - * @param $callback |
|
| 497 | + * @param \Closure $callback |
|
| 498 | 498 | * @return self |
| 499 | 499 | */ |
| 500 | 500 | public function setValidationResponseCallback($callback) |
@@ -596,6 +596,7 @@ discard block |
||
| 596 | 596 | * Set actions that are exempt from validation |
| 597 | 597 | * |
| 598 | 598 | * @param array |
| 599 | + * @param string[] $actions |
|
| 599 | 600 | * @return $this |
| 600 | 601 | */ |
| 601 | 602 | public function setValidationExemptActions($actions) |
@@ -1043,7 +1044,7 @@ discard block |
||
| 1043 | 1044 | * If set to false (the default), then the form method is only used to construct the default |
| 1044 | 1045 | * form. |
| 1045 | 1046 | * |
| 1046 | - * @param $bool boolean |
|
| 1047 | + * @param boolean $bool boolean |
|
| 1047 | 1048 | * @return $this |
| 1048 | 1049 | */ |
| 1049 | 1050 | public function setStrictFormMethodCheck($bool) |
@@ -390,7 +390,7 @@ |
||
| 390 | 390 | /** |
| 391 | 391 | * Fields can have action to, let's check if anyone of the responds to $funcname them |
| 392 | 392 | * |
| 393 | - * @param SS_List|array $fields |
|
| 393 | + * @param FieldList $fields |
|
| 394 | 394 | * @param callable $funcName |
| 395 | 395 | * @return FormField |
| 396 | 396 | */ |