@@ -135,8 +135,6 @@ |
||
135 | 135 | * |
136 | 136 | * @param string $scenario |
137 | 137 | * The machine name of the scenario feature. |
138 | - * @param string $rollback |
|
139 | - * Boolean: rollback existing demo content. |
|
140 | 138 | */ |
141 | 139 | function drush_df_admin_reset_scenario($scenario) { |
142 | 140 | $rollback = drush_get_option('rollback', TRUE); |
@@ -276,6 +276,7 @@ |
||
276 | 276 | * |
277 | 277 | * Replaces instances of "sites/default/files" in fields with the current file |
278 | 278 | * path. |
279 | + * @param string $type |
|
279 | 280 | */ |
280 | 281 | function df_admin_entity_insert($entity, $type, $ignore_migrate = FALSE) { |
281 | 282 | if (isset($entity->migrate) || $ignore_migrate) { |
@@ -89,6 +89,9 @@ discard block |
||
89 | 89 | * @param $items_number |
90 | 90 | * @param $order_state |
91 | 91 | */ |
92 | +/** |
|
93 | + * @param integer $items_number |
|
94 | + */ |
|
92 | 95 | function _df_commerce_create_order($uid, $items_number, $is_cart = FALSE) { |
93 | 96 | // Create order as a cart. |
94 | 97 | $order = commerce_order_new($uid, 'cart'); |
@@ -171,7 +174,7 @@ discard block |
||
171 | 174 | * Helper function to update the order status and set the message. |
172 | 175 | * |
173 | 176 | * @param $order |
174 | - * @param $status |
|
177 | + * @param string $status |
|
175 | 178 | */ |
176 | 179 | function _df_commerce_update_order_status($order, $status) { |
177 | 180 | // We need to harcode the previous state, as the entity will not |