Completed
Pull Request — master (#11372)
by Matty
08:38
created
includes/abstracts/abstract-wc-shipping-method.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
 	 *
129 129
 	 * Methods should override this to declare support (or lack of support) for a feature.
130 130
 	 *
131
-	 * @param       $feature string The name of a feature to test support for.
131
+	 * @param       string $feature string The name of a feature to test support for.
132 132
 	 * @return bool          True if the shipping method supports the feature, false otherwise.
133 133
 	 */
134 134
 	public function supports( $feature ) {
Please login to merge, or discard this patch.
includes/class-wc-product-factory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 
90 90
 	/**
91 91
 	 * Get the product object.
92
-	 * @param mixed $the_product
92
+	 * @param boolean $the_product
93 93
 	 * @uses   WP_Post
94 94
 	 * @return WP_Post|bool false on failure
95 95
 	 */
Please login to merge, or discard this patch.
includes/wc-core-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
  * WC_TEMPLATE_DEBUG_MODE will prevent overrides in themes from taking priority.
146 146
  *
147 147
  * @access public
148
- * @param mixed  $slug
148
+ * @param string  $slug
149 149
  * @param string $name (default: '')
150 150
  */
151 151
 function wc_get_template_part( $slug, $name = '' ) {
Please login to merge, or discard this patch.
includes/wc-order-functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -656,7 +656,7 @@
 block discarded – undo
656 656
  *
657 657
  * @access public
658 658
  * @param  mixed $item_id
659
- * @param  mixed $key
659
+ * @param  string $key
660 660
  * @param  bool  $single  (default: true)
661 661
  * @return mixed
662 662
  */
Please login to merge, or discard this patch.