@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | /** |
| 231 | 231 | * Delete meta data. |
| 232 | 232 | * @since 2.6.0 |
| 233 | - * @param array $key Meta key |
|
| 233 | + * @param string $key Meta key |
|
| 234 | 234 | */ |
| 235 | 235 | public function delete_meta_data( $key ) { |
| 236 | 236 | $array_keys = array_keys( wp_list_pluck( $this->_meta_data, 'key' ), $key ); |
@@ -420,7 +420,6 @@ discard block |
||
| 420 | 420 | /** |
| 421 | 421 | * When invalid data is found, throw an exception unless reading from the DB. |
| 422 | 422 | * @param string $error_code Error code. |
| 423 | - * @param string $data $error_message Error message. |
|
| 424 | 423 | * @throws WC_Data_Exception |
| 425 | 424 | */ |
| 426 | 425 | protected function invalid_data( $error_code, $error_message ) { |
@@ -414,6 +414,7 @@ |
||
| 414 | 414 | /** |
| 415 | 415 | * Updates status of order immediately. Order must exist. |
| 416 | 416 | * @uses WC_Order::set_status() |
| 417 | + * @param string $new_status |
|
| 417 | 418 | * @return bool success |
| 418 | 419 | */ |
| 419 | 420 | public function update_status( $new_status, $note = '', $manual = false ) { |