Completed
Push — master ( b144bb...36cfba )
by Nicolaas
01:19
created
code/forms/RepeatOrderForm.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -216,6 +216,10 @@
 block discarded – undo
216 216
         return true;
217 217
     }
218 218
 
219
+    /**
220
+     * @param integer $key
221
+     * @param string $val
222
+     */
219 223
     private function array_unshift_assoc(&$arr, $key, $val)
220 224
     {
221 225
         $arr = array_reverse($arr, true);
Please login to merge, or discard this patch.
code/model/RepeatOrder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -882,7 +882,7 @@  discard block
 block discarded – undo
882 882
 
883 883
     /**
884 884
      * Are there any orders scheduled for the future
885
-     * @return Boolean
885
+     * @return boolean|null
886 886
      */
887 887
     public function HasFutureOrders()
888 888
     {
@@ -893,7 +893,7 @@  discard block
 block discarded – undo
893 893
 
894 894
     /**
895 895
      * Are there any orders scheduled for today
896
-     * @return Boolean
896
+     * @return boolean|null
897 897
      */
898 898
     public function HasAnOrderToday()
899 899
     {
Please login to merge, or discard this patch.
code/model/RepeatOrderOrderItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * returns a list of alternatives per product (if any)
74
-     * @return NULL | DataObjectSet
74
+     * @return DataObjectSet|null | DataObjectSet
75 75
      */
76 76
     public function AlternativesPerProduct()
77 77
     {
Please login to merge, or discard this patch.
code/RepeatOrdersPage.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@
 block discarded – undo
36 36
      * Return a link to view the order on the account page.
37 37
      * actions are: create, update, view
38 38
      * @param String $action
39
-     * @param int|string $orderID ID of the order
40 39
      */
41 40
     public static function get_repeat_order_link($action = 'view', $repeatOrderID = 0)
42 41
     {
Please login to merge, or discard this patch.