@@ -60,7 +60,6 @@ |
||
60 | 60 | /** |
61 | 61 | * AddToCampaignHandler constructor. |
62 | 62 | * |
63 | - * @param Controller $parentController Controller for this form |
|
64 | 63 | * @param array|DataObject $data The data submitted as part of that form |
65 | 64 | * @param string $name Form name |
66 | 65 | */ |
@@ -77,6 +77,9 @@ |
||
77 | 77 | return $state; |
78 | 78 | } |
79 | 79 | |
80 | + /** |
|
81 | + * @param \FieldList|null $fields |
|
82 | + */ |
|
80 | 83 | protected function getFieldStates($fields) { |
81 | 84 | $states = []; |
82 | 85 | foreach ($fields as $field) { |