Completed
Push — master ( 33ec3b...679a17 )
by Nicolaas
01:31
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/modifiers/DiscountCouponModifier.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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);
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.