Completed
Push — master ( ee94a5...d975bd )
by Nicolaas
04:02
created
code/model/process/OrderSteps/OrderStep_Confirmed.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @see Order::doNextStatus
32 32
      *
33
-     * @param Order object
33
+     * @param Order Order
34 34
      *
35 35
      * @return bool - true if the current step is ready to be run...
36 36
      **/
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @see Order::doNextStatus
49 49
      *
50
-     * @param Order object
50
+     * @param Order Order
51 51
      *
52 52
      * @return bool - true if run correctly.
53 53
      **/
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @param DataObject $order Order
63 63
      *
64
-     * @return DataObject | Null - DataObject = OrderStep
64
+     * @return OrderStep|null | Null - DataObject = OrderStep
65 65
      **/
66 66
     public function nextStep(Order $order)
67 67
     {
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_Created.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      *
28 28
      * @see Order::doNextStatus
29 29
      *
30
-     * @param Order object
30
+     * @param Order Order
31 31
      *
32 32
      * @return bool - true if the current step is ready to be run...
33 33
      **/
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_Sent.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @see Order::doNextStatus
50 50
      *
51
-     * @param Order object
51
+     * @param Order Order
52 52
      *
53 53
      * @return bool - true if the current step is ready to be run...
54 54
      **/
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
      *
66 66
      * @see Order::doNextStatus
67 67
      *
68
-     * @param Order object
68
+     * @param Order Order
69 69
      *
70
-     * @return bool - true if run correctly.
70
+     * @return boolean|null - true if run correctly.
71 71
      **/
72 72
     public function doStep(Order $order)
73 73
     {
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_SentInvoice.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
       * NOTE: must have a payment (even if it is a fake payment).
42 42
       * The reason for this is if people pay straight away then they want to see the payment shown on their invoice.
43 43
       *
44
-      * @param Order object
44
+      * @param Order Order
45 45
       *
46 46
       * @return bool - true if the current step is ready to be run...
47 47
       **/
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_Submitted.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      *
56 56
      * @see Order::doNextStatus
57 57
      *
58
-     * @param Order object
58
+     * @param Order Order
59 59
      *
60 60
      * @return bool - true if the current step is ready to be run...
61 61
      **/
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      /**
68 68
       * Add a member to the order - in case he / she is not a shop admin.
69 69
       *
70
-      * @param Order object
70
+      * @param Order Order
71 71
       *
72 72
       * @return bool - true if run correctly.
73 73
       **/
Please login to merge, or discard this patch.
code/ProductGroup.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
      * by either type (e.g. FILER) or variable (e.g dbFieldName)
373 373
      * or both.
374 374
      *
375
-     * @param string $typeOfVariableName FILTER | SORT | DISPLAY or sessionName, getVariable, etc...
375
+     * @param string $typeOrVariable FILTER | SORT | DISPLAY or sessionName, getVariable, etc...
376 376
      * @param string $variable:          sessionName, getVariable, etc...
377 377
      *
378 378
      * @return array | String
@@ -1528,9 +1528,8 @@  discard block
 block discarded – undo
1528 1528
 
1529 1529
     /**
1530 1530
      *
1531
-     * @param string $name
1532
-     * @param string $filterKey
1533 1531
      *
1532
+     * @param string $cacheKey
1534 1533
      * @return string
1535 1534
      */
1536 1535
     public function cacheKey($cacheKey)
@@ -1827,7 +1826,7 @@  discard block
 block discarded – undo
1827 1826
      * This is the call that is made from the template...
1828 1827
      * The actual final products being shown.
1829 1828
      *
1830
-     * @return PaginatedList
1829
+     * @return DataList
1831 1830
      **/
1832 1831
     public function Products()
1833 1832
     {
@@ -2151,7 +2150,7 @@  discard block
 block discarded – undo
2151 2150
      *
2152 2151
      * This is different from IsSearchResults.
2153 2152
      *
2154
-     * @return bool
2153
+     * @return boolean|null
2155 2154
      */
2156 2155
     public function ActiveSearchTerm()
2157 2156
     {
@@ -2217,7 +2216,7 @@  discard block
 block discarded – undo
2217 2216
      * Is there a special sort operating at the moment?
2218 2217
      * Is the current sort the default one (return inverse!)?
2219 2218
      *
2220
-     * @return bool
2219
+     * @return boolean|null
2221 2220
      */
2222 2221
     public function HasSort()
2223 2222
     {
@@ -2599,7 +2598,7 @@  discard block
 block discarded – undo
2599 2598
      *
2600 2599
      * @param SS_List
2601 2600
      *
2602
-     * @return PaginatedList
2601
+     * @return ProductGroup_Controller|null
2603 2602
      */
2604 2603
     protected function paginateList(SS_List $list)
2605 2604
     {
Please login to merge, or discard this patch.
code/search/filters/EcommercePaymentFilters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     private $divider = 90;
32 32
 
33 33
     /**
34
-     *@return SQLQuery
34
+     *@return DataQuery
35 35
      **/
36 36
     public function applyOne(DataQuery $query)
37 37
     {
Please login to merge, or discard this patch.
code/search/filters/OrderEmailRecordFilters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 class OrderEmailRecordFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter
13 13
 {
14 14
     /**
15
-     *@return SQLQuery
15
+     *@return DataQuery
16 16
      **/
17 17
     public function apply(DataQuery $query)
18 18
     {
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskCleanupProducts.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 
20 20
     protected $deleteFirst = true;
21 21
 
22
+    /**
23
+     * @param boolean $b
24
+     */
22 25
     public function setDeleteFirst($b)
23 26
     {
24 27
         $this->deleteFirst = $b;
Please login to merge, or discard this patch.