@@ -216,6 +216,10 @@ |
||
| 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); |
@@ -882,7 +882,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -71,7 +71,7 @@ |
||
| 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 | { |
@@ -36,7 +36,6 @@ |
||
| 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 | { |