Completed
Push — master ( a41cf8...39b49d )
by Nicolaas
04:41
created
code/search/filters/OrderFilters.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     private $divider = 3;
29 29
 
30 30
     /**
31
-     *@return SQLQuery
31
+     *@return DataQuery
32 32
      **/
33 33
     public function apply(DataQuery $query)
34 34
     {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 class OrderFilters_MemberAndAddress extends ExactMatchFilter
74 74
 {
75 75
     /**
76
-     *@return SQLQuery
76
+     *@return DataQuery
77 77
      **/
78 78
     public function apply(DataQuery $query)
79 79
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 class OrderFilters_MultiOptionsetStatusIDFilter extends ExactMatchFilter
147 147
 {
148 148
     /**
149
-     *@return SQLQuery
149
+     *@return DataQuery
150 150
      **/
151 151
     public function apply(DataQuery $query)
152 152
     {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 class OrderFilters_HasBeenCancelled extends ExactMatchFilter
182 182
 {
183 183
     /**
184
-     *@return SQLQuery
184
+     *@return DataQuery
185 185
      **/
186 186
     public function apply(DataQuery $query)
187 187
     {
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 class OrderFilters_MustHaveAtLeastOnePayment extends ExactMatchFilter
217 217
 {
218 218
     /**
219
-     *@return SQLQuery
219
+     *@return DataQuery
220 220
      **/
221 221
     public function apply(DataQuery $query)
222 222
     {
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskArchiveAllOrdersWithItems.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -90,6 +90,11 @@
 block discarded – undo
90 90
         }
91 91
     }
92 92
 
93
+    /**
94
+     * @param DataObject|null $lastOrderStep
95
+     * @param string $orderStatusLogClassName
96
+     * @param integer $offset
97
+     */
93 98
     public function getOrdersForCreateSubmissionLogForArchivedOrders($lastOrderStep, $orderStatusLogClassName, $offset)
94 99
     {
95 100
         return Order::get()
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.
code/tasks/EcommerceTaskMigration.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,8 +196,10 @@
 block discarded – undo
196 196
      *
197 197
      * @param string - $field - name of the field to be tested
198 198
      * @param string - $table - name of the table to be tested
199
+     * @param string $table
200
+     * @param string $field
199 201
      *
200
-     * @return bool
202
+     * @return boolean|null
201 203
      */
202 204
     protected function makeFieldObsolete($table, $field, $format = '')
203 205
     {
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskOrderItemsPerCustomer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         }
70 70
     }
71 71
 
72
+    /**
73
+     * @param DataList $orderItems
74
+     */
72 75
     public function generateExportFileData($email, $date, $orderItems)
73 76
     {
74 77
         $separator = ',';
Please login to merge, or discard this patch.
code/tasks/EcommerceTaskTryToFinaliseOrders.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -92,6 +92,10 @@
 block discarded – undo
92 92
         $this->doNotSendEmails = false;
93 93
     }
94 94
 
95
+    /**
96
+     * @param integer|null $limit
97
+     * @param integer|null $startAt
98
+     */
95 99
     protected function tryToFinaliseOrders($orders, $limit, $startAt)
96 100
     {
97 101
         $orders = $orders->limit($limit, $startAt);
Please login to merge, or discard this patch.
code/forms/gridfield/GridFieldPrintAllInvoicesButton.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@  discard block
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * @param string $targetFragment The HTML fragment to write the button into
21
-     * @param array $exportColumns The columns to include in the export
22 21
      */
23 22
     public function __construct($targetFragment = "after")
24 23
     {
@@ -72,6 +71,7 @@  discard block
 block discarded – undo
72 71
 
73 72
     /**
74 73
      * Handle the print, for both the action button and the URL
74
+      * @param GridField $gridField
75 75
       */
76 76
     public function handlePrintAllPackingSlips($gridField, $request = null)
77 77
     {
Please login to merge, or discard this patch.
code/forms/OrderForm_Cancel.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,6 @@
 block discarded – undo
188 188
     /**
189 189
      * saves the form into session.
190 190
      *
191
-     * @param array $data - data from form.
192 191
      */
193 192
     public function saveDataToSession()
194 193
     {
Please login to merge, or discard this patch.
code/forms/OrderForm_Payment.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,6 @@
 block discarded – undo
188 188
     /**
189 189
      * saves the form into session.
190 190
      *
191
-     * @param array $data - data from form.
192 191
      */
193 192
     public function saveDataToSession()
194 193
     {
Please login to merge, or discard this patch.