Completed
Push — master ( dc665d...111f9f )
by Nicolaas
03:48
created
code/search/filters/OrderFilters_AroundDateFilter.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
     private $divider = 3;
28 28
 
29 29
     /**
30
-     *@return SQLQuery
30
+     *@return DataQuery
31 31
      **/
32 32
     public function apply(DataQuery $query)
33 33
     {
Please login to merge, or discard this patch.
code/search/filters/OrderFilters_HasBeenCancelled.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 class OrderFilters_HasBeenCancelled extends ExactMatchFilter
12 12
 {
13 13
     /**
14
-     *@return SQLQuery
14
+     *@return DataQuery
15 15
      **/
16 16
     public function apply(DataQuery $query)
17 17
     {
Please login to merge, or discard this patch.
code/search/filters/OrderFilters_MemberAndAddress.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 class OrderFilters_MemberAndAddress extends ExactMatchFilter
16 16
 {
17 17
     /**
18
-     *@return SQLQuery
18
+     *@return DataQuery
19 19
      **/
20 20
     public function apply(DataQuery $query)
21 21
     {
Please login to merge, or discard this patch.
code/search/filters/OrderFilters_MultiOptionsetStatusIDFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 class OrderFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter
12 12
 {
13 13
     /**
14
-     *@return SQLQuery
14
+     *@return DataQuery
15 15
      **/
16 16
     public function apply(DataQuery $query)
17 17
     {
Please login to merge, or discard this patch.
code/search/filters/OrderFilters_MustHaveAtLeastOnePayment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 class OrderFilters_MustHaveAtLeastOnePayment extends ExactMatchFilter
12 12
 {
13 13
     /**
14
-     *@return SQLQuery
14
+     *@return DataQuery
15 15
      **/
16 16
     public function apply(DataQuery $query)
17 17
     {
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_Paid.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      *
25 25
      * @see Order::doNextStatus
26 26
      *
27
-     * @param Order object
27
+     * @param Order Order
28 28
      *
29 29
      * @return bool - true if the current step is ready to be run...
30 30
      **/
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @see Order::doNextStatus
43 43
      *
44
-     * @param Order object
44
+     * @param Order Order
45 45
      *
46 46
      * @return bool - true if run correctly.
47 47
      **/
Please login to merge, or discard this patch.
code/model/process/OrderSteps/OrderStep_SentReceipt.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/tasks/EcommerceTaskTryToFinaliseOrders.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -96,6 +96,11 @@
 block discarded – undo
96 96
     }
97 97
 
98 98
 
99
+    /**
100
+     * @param DataList $orders
101
+     * @param integer|null $limit
102
+     * @param integer|null $startAt
103
+     */
99 104
     protected function tryToFinaliseOrders($orders, $limit, $startAt)
100 105
     {
101 106
         $orders = $orders->limit($limit, $startAt);
Please login to merge, or discard this patch.
code/model/process/OrderProcessQueue.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
      * If the order already exists, it will update the seconds and the creation  time.
152 152
      *
153 153
      * @param Order $order          [description]
154
-     * @param Int   $deferInSeconds [description]
154
+     * @param Int   $deferTimeInSeconds [description]
155 155
      */
156 156
     public function AddOrderToQueue($order, $deferTimeInSeconds)
157 157
     {
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
      *
204 204
      * @param  Order $order
205 205
      *
206
-     * @return null |   OrderProcessQueue
206
+     * @return DataObject|null |   OrderProcessQueue
207 207
      */
208 208
     public function getQueueObject($order)
209 209
     {
@@ -261,7 +261,6 @@  discard block
 block discarded – undo
261 261
 
262 262
     /**
263 263
      * META METHOD: all orders with a queue object
264
-     * @param int $id force this Order to be processed
265 264
      * @param int $limit total number of orders that can be retrieved at any one time
266 265
      *
267 266
      * @return DataList (of orders)
Please login to merge, or discard this patch.