Completed
Push — master ( b28689...af1efd )
by Nicolaas
03:41
created
code/tasks/EcommerceTaskArchiveAllOrdersWithItems.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -100,6 +100,11 @@
 block discarded – undo
100 100
         }
101 101
     }
102 102
 
103
+    /**
104
+     * @param DataObject $lastOrderStep
105
+     * @param string $orderStatusLogClassName
106
+     * @param integer $offset
107
+     */
103 108
     public function getOrdersForCreateSubmissionLogForArchivedOrders($lastOrderStep, $orderStatusLogClassName, $offset)
104 109
     {
105 110
         return Order::get()
Please login to merge, or discard this patch.
code/CartPage.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,6 +215,7 @@  discard block
 block discarded – undo
215 215
      * Returns the "new order" link.
216 216
      *
217 217
      * @param int | String $orderID - not used in CartPage
218
+     * @param integer $orderID
218 219
      *
219 220
      * @return string (URLSegment)
220 221
      */
@@ -227,6 +228,7 @@  discard block
 block discarded – undo
227 228
      * Returns the "copy order" link.
228 229
      *
229 230
      * @param int | String $orderID - not used in CartPage
231
+     * @param integer $orderID
230 232
      *
231 233
      * @return string (URLSegment)
232 234
      */
@@ -240,7 +242,7 @@  discard block
 block discarded – undo
240 242
      *
241 243
      * @param int|string $orderID ID of the order
242 244
      *
243
-     * @return int | String (URLSegment)
245
+     * @return string | String (URLSegment)
244 246
      */
245 247
     public static function get_order_link($orderID)
246 248
     {
@@ -382,6 +384,10 @@  discard block
 block discarded – undo
382 384
      * @todo: check if we need this....!
383 385
      **/
384 386
     private $message = '';
387
+
388
+    /**
389
+     * @param string $s
390
+     */
385 391
     public static function set_message($s)
386 392
     {
387 393
         $sessionCode = EcommerceConfig::get('CartPage_Controller', 'session_code');
@@ -703,7 +709,7 @@  discard block
 block discarded – undo
703 709
 
704 710
 
705 711
     /**
706
-     * @return string
712
+     * @return DBField
707 713
      **/
708 714
     public function Message()
709 715
     {
Please login to merge, or discard this patch.