@@ -22,6 +22,12 @@ |
||
| 22 | 22 | |
| 23 | 23 | private static $product_template = ""; |
| 24 | 24 | |
| 25 | + /** |
|
| 26 | + * @param Controller $optionalController |
|
| 27 | + * @param string $name |
|
| 28 | + * @param Validator $optionalValidator |
|
| 29 | + * @param ArrayList $recommendedBuyables |
|
| 30 | + */ |
|
| 25 | 31 | public function __construct($optionalController = null, $name, FieldList $fields, FieldList $actions, $optionalValidator = null, $recommendedBuyables) |
| 26 | 32 | { |
| 27 | 33 | if (! ($fields instanceof FieldList)) { |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * |
| 84 | - * @return Form |
|
| 84 | + * @return RecommendedProductsModifier_Form|null |
|
| 85 | 85 | */ |
| 86 | 86 | public function getModifierForm(Controller $optionalController = null, Validator $optionalValidator = null) |
| 87 | 87 | { |