@@ -902,7 +902,7 @@ |
||
902 | 902 | * |
903 | 903 | * @param array $data |
904 | 904 | * @param Form $form |
905 | - * @return DBHTMLText|HTTPResponse |
|
905 | + * @return null|HTTPResponse |
|
906 | 906 | */ |
907 | 907 | public function addtocampaign($data, $form) |
908 | 908 | { |
@@ -23,11 +23,9 @@ |
||
23 | 23 | use SilverStripe\Control\HTTPRequest; |
24 | 24 | use SilverStripe\Control\HTTPResponse; |
25 | 25 | use SilverStripe\Core\Injector\Injector; |
26 | -use SilverStripe\Forms\DateField; |
|
27 | 26 | use SilverStripe\Forms\Form; |
28 | 27 | use SilverStripe\Forms\FormFactory; |
29 | 28 | use SilverStripe\ORM\ArrayList; |
30 | -use SilverStripe\ORM\DataList; |
|
31 | 29 | use SilverStripe\ORM\DataObject; |
32 | 30 | use SilverStripe\ORM\FieldType\DBHTMLText; |
33 | 31 | use SilverStripe\ORM\ValidationResult; |
@@ -133,7 +133,7 @@ |
||
133 | 133 | * |
134 | 134 | * @param int $parentID Parent folder id |
135 | 135 | * @param int $maxDepth Hard limit of max depth |
136 | - * @return array List of parent IDs, including $parentID |
|
136 | + * @return integer[] List of parent IDs, including $parentID |
|
137 | 137 | */ |
138 | 138 | protected function getNestedFolderIDs($parentID, $maxDepth = 5) |
139 | 139 | { |