@@ -57,7 +57,7 @@ |
||
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | 59 | * |
| 60 | - * @return SS_Date |
|
| 60 | + * @return DBField|null |
|
| 61 | 61 | */ |
| 62 | 62 | public function DiscountsAvailableUntil() |
| 63 | 63 | { |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | { |
| 11 | 11 | |
| 12 | 12 | /** |
| 13 | - *@return SQLQuery |
|
| 13 | + *@return DataQuery |
|
| 14 | 14 | **/ |
| 15 | 15 | public function apply(DataQuery $query) |
| 16 | 16 | { |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | /** |
| 188 | 188 | * @param String $code - code that has been entered |
| 189 | 189 | * |
| 190 | - * @return array |
|
| 190 | + * @return string[] |
|
| 191 | 191 | * */ |
| 192 | 192 | public function updateCouponCodeEntered($code) |
| 193 | 193 | { |
@@ -327,6 +327,7 @@ discard block |
||
| 327 | 327 | * returns an Array of OrderItem IDs |
| 328 | 328 | * to which the coupon applies |
| 329 | 329 | * @param DiscountCouponOption |
| 330 | + * @param DataObject $coupon |
|
| 330 | 331 | * @return Array |
| 331 | 332 | */ |
| 332 | 333 | protected function applicableProductsArray($coupon) |
@@ -375,7 +376,7 @@ discard block |
||
| 375 | 376 | // ######################################## *** calculate database fields: protected function Live[field name] ... USES CALCULATED VALUES |
| 376 | 377 | |
| 377 | 378 | /** |
| 378 | - * @return int |
|
| 379 | + * @return string |
|
| 379 | 380 | * */ |
| 380 | 381 | protected function LiveName() |
| 381 | 382 | { |
@@ -565,6 +566,11 @@ discard block |
||
| 565 | 566 | return null; |
| 566 | 567 | } |
| 567 | 568 | |
| 569 | + /** |
|
| 570 | + * @param Controller $optionalController |
|
| 571 | + * @param string $name |
|
| 572 | + * @param Validator $optionalValidator |
|
| 573 | + */ |
|
| 568 | 574 | public function __construct($optionalController = null, $name, FieldList $fields, FieldList $actions, $optionalValidator = null) |
| 569 | 575 | { |
| 570 | 576 | parent::__construct($optionalController, $name, $fields, $actions, $optionalValidator); |