Completed
Push — master ( 6a2f87...f5cc89 )
by Mike
14:36
created
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.
includes/abstracts/abstract-wc-data.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
 	/**
65 65
 	 * Default constructor.
66
-	 * @param int|object|array $read ID to load from the DB (optional) or already queried data.
66
+	 * @param integer $read ID to load from the DB (optional) or already queried data.
67 67
 	 */
68 68
 	public function __construct( $read = 0 ) {
69 69
 		$this->_default_data = $this->_data;
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
 	/**
240 240
 	 * Delete meta data.
241 241
 	 * @since 2.6.0
242
-	 * @param array $key Meta key
242
+	 * @param string $key Meta key
243 243
 	 */
244 244
 	public function delete_meta_data( $key ) {
245 245
 		$array_keys = array_keys( wp_list_pluck( $this->_meta_data, 'key' ), $key );
Please login to merge, or discard this patch.
includes/abstracts/abstract-wc-order.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 * should be used. It is possible, but the aforementioned are preferred and are the only.
97 97
 	 * methods that will be maintained going forward.
98 98
 	 *
99
-	 * @param  int|object|WC_Order $read Order to init.
99
+	 * @param  integer $read Order to init.
100 100
 	 */
101 101
 	public function __construct( $read = 0 ) {
102 102
 		parent::__construct( $read );
@@ -215,6 +215,7 @@  discard block
 block discarded – undo
215 215
 	/**
216 216
 	 * Post meta update wrapper. Sets or deletes based on value.
217 217
 	 * @since 2.7.0
218
+	 * @param string $key
218 219
 	 * @return bool Was it changed?
219 220
 	 */
220 221
 	protected function update_post_meta( $key, $value ) {
@@ -1086,7 +1087,7 @@  discard block
 block discarded – undo
1086 1087
 	 * Calculate shipping total.
1087 1088
 	 *
1088 1089
 	 * @since 2.2
1089
-	 * @return float
1090
+	 * @return string
1090 1091
 	 */
1091 1092
 	public function calculate_shipping() {
1092 1093
 		$shipping_total = 0;
Please login to merge, or discard this patch.
includes/class-wc-order-item.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 * Constructor.
53
-	 * @param int|object|array $read ID to load from the DB (optional) or already queried data.
53
+	 * @param integer $read ID to load from the DB (optional) or already queried data.
54 54
 	 */
55 55
 	public function __construct( $read = 0 ) {
56 56
 		parent::__construct( $read );
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
 	/**
70 70
 	 * Type checking
71
-	 * @param  string|array  $Type
71
+	 * @param  string|array  $type
72 72
 	 * @return boolean
73 73
 	 */
74 74
 	public function is_type( $type ) {
Please login to merge, or discard this patch.
includes/class-wc-order-refund.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
 	/**
18 18
 	 * Extend the abstract _data properties and then read the order object.
19
-	 * @param int|object|WC_Order $read Order to init.
19
+	 * @param integer $read Order to init.
20 20
 	 */
21 21
 	 public function __construct( $read = 0 ) {
22 22
 		// Extend order data
Please login to merge, or discard this patch.