Completed
Push — master ( c22f60...21d98e )
by Nicolaas
01:15
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/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.
code/model/RepeatOrder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 
215 215
     /**
216 216
      * returns a list of actual orders that have been created from this repeat order.
217
-     * @return DOS | Null
217
+     * @return ArrayList|null | Null
218 218
      */
219 219
     public function AutomaticallyCreatedOrders()
220 220
     {
@@ -855,7 +855,7 @@  discard block
 block discarded – undo
855 855
 
856 856
     /**
857 857
      * Are there any orders scheduled for the future
858
-     * @return Boolean
858
+     * @return boolean|null
859 859
      */
860 860
     public function HasFutureOrders()
861 861
     {
@@ -866,7 +866,7 @@  discard block
 block discarded – undo
866 866
 
867 867
     /**
868 868
      * Are there any orders scheduled for today
869
-     * @return Boolean
869
+     * @return boolean|null
870 870
      */
871 871
     public function HasAnOrderToday()
872 872
     {
Please login to merge, or discard this patch.