Completed
Pull Request — master (#11283)
by Fredrik
06:50
created
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
@@ -655,7 +655,7 @@
 block discarded – undo
655 655
  *
656 656
  * @access public
657 657
  * @param mixed $item_id
658
- * @param mixed $key
658
+ * @param string $key
659 659
  * @param bool $single (default: true)
660 660
  * @return mixed
661 661
  */
Please login to merge, or discard this patch.
includes/api/class-wc-rest-orders-controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -955,7 +955,7 @@
 block discarded – undo
955 955
 	 *
956 956
 	 * @param WP_REST_Request $request Full details about the request.
957 957
 	 * @param WP_Post $post Post data.
958
-	 * @return int|WP_Error
958
+	 * @return integer
959 959
 	 */
960 960
 	protected function update_order( $request, $post ) {
961 961
 		try {
Please login to merge, or discard this patch.
includes/api/class-wc-rest-products-controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 	/**
116 116
 	 * Get post types.
117 117
 	 *
118
-	 * @return array
118
+	 * @return string[]
119 119
 	 */
120 120
 	protected function get_post_types() {
121 121
 		return array( 'product', 'product_variation' );
Please login to merge, or discard this patch.