@@ -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 | { |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | /** |
| 175 | 175 | * @param String $code - code that has been entered |
| 176 | 176 | * |
| 177 | - * @return array |
|
| 177 | + * @return string[] |
|
| 178 | 178 | * */ |
| 179 | 179 | public function updateCouponCodeEntered($code) |
| 180 | 180 | { |
@@ -314,6 +314,7 @@ discard block |
||
| 314 | 314 | * returns an Array of OrderItem IDs |
| 315 | 315 | * to which the coupon applies |
| 316 | 316 | * @param DiscountCouponOption |
| 317 | + * @param DataObject $coupon |
|
| 317 | 318 | * @return Array |
| 318 | 319 | */ |
| 319 | 320 | protected function applicableProductsArray($coupon) |
@@ -362,7 +363,7 @@ discard block |
||
| 362 | 363 | // ######################################## *** calculate database fields: protected function Live[field name] ... USES CALCULATED VALUES |
| 363 | 364 | |
| 364 | 365 | /** |
| 365 | - * @return int |
|
| 366 | + * @return string |
|
| 366 | 367 | * */ |
| 367 | 368 | protected function LiveName() |
| 368 | 369 | { |
@@ -552,6 +553,11 @@ discard block |
||
| 552 | 553 | return null; |
| 553 | 554 | } |
| 554 | 555 | |
| 556 | + /** |
|
| 557 | + * @param Controller $optionalController |
|
| 558 | + * @param string $name |
|
| 559 | + * @param Validator $optionalValidator |
|
| 560 | + */ |
|
| 555 | 561 | public function __construct($optionalController = null, $name, FieldList $fields, FieldList $actions, $optionalValidator = null) |
| 556 | 562 | { |
| 557 | 563 | parent::__construct($optionalController, $name, $fields, $actions, $optionalValidator); |
@@ -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 | { |