Completed
Push — master ( 2e785c...9d2283 )
by Nicolaas
02:16
created
code/model/buyables/DiscountCouponProductDataExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
     /**
59 59
      *
60
-     * @return SS_Date
60
+     * @return DBField|null
61 61
      */
62 62
     public function DiscountsAvailableUntil()
63 63
     {
Please login to merge, or discard this patch.
code/search/DiscountCouponFilterForDate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 {
11 11
 
12 12
     /**
13
-     *@return SQLQuery
13
+     *@return DataQuery
14 14
      **/
15 15
     public function apply(DataQuery $query)
16 16
     {
Please login to merge, or discard this patch.
code/modifiers/DiscountCouponModifier.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.