Completed
Pull Request — master (#11762)
by Mike
26:45
created
includes/abstracts/abstract-wc-data.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 ) {
Please login to merge, or discard this patch.
includes/class-wc-order.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -414,6 +414,7 @@
 block discarded – undo
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 ) {
Please login to merge, or discard this patch.