Completed
Pull Request — master (#11889)
by Mike
12:12
created
includes/wc-core-functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
  * WC_TEMPLATE_DEBUG_MODE will prevent overrides in themes from taking priority.
129 129
  *
130 130
  * @access public
131
- * @param mixed $slug
131
+ * @param string $slug
132 132
  * @param string $name (default: '')
133 133
  */
134 134
 function wc_get_template_part( $slug, $name = '' ) {
@@ -1447,7 +1447,7 @@  discard block
 block discarded – undo
1447 1447
  *
1448 1448
  * @since 2.7.0
1449 1449
  * @param array      $list      List of objects or arrays
1450
- * @param int|string $callback_or_field     Callback method from the object to place instead of the entire object
1450
+ * @param string $callback_or_field     Callback method from the object to place instead of the entire object
1451 1451
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1452 1452
  *                              Default null.
1453 1453
  * @return array Array of values.
Please login to merge, or discard this patch.
includes/class-wc-cart-totals.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -392,6 +392,7 @@  discard block
 block discarded – undo
392 392
 	/**
393 393
 	 * Should we calc tax?
394 394
 	 * @param bool
395
+	 * @param boolean $value
395 396
 	 */
396 397
 	public function set_calculate_tax( $value ) {
397 398
 		$this->calculate_tax = (bool) $value;
@@ -408,7 +409,7 @@  discard block
 block discarded – undo
408 409
 
409 410
 	/**
410 411
 	 * Sets items and adds precision which lets us work with integers.
411
-	 * @param array $items
412
+	 * @param WC_Item_Product[] $items
412 413
 	 */
413 414
 	public function set_items( $items ) {
414 415
 		foreach ( $items as $item_key => $maybe_item ) {
Please login to merge, or discard this patch.