Completed
Push — master ( f490c0...521ac8 )
by Nicolaas
03:24
created
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.
code/forms/OrderStatusLogForm.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/model/extensions/EcommerceSiteTreeExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@
 block discarded – undo
330 330
      * In templates, it is used like this:
331 331
      * $EcommerceConfigAjax.TableID.
332 332
      *
333
-     * @return EcommerceConfigAjax
333
+     * @return EcommerceConfigAjaxDefinitions
334 334
      **/
335 335
     public function AJAXDefinitions()
336 336
     {
Please login to merge, or discard this patch.