Completed
Pull Request — master (#11430)
by Matty
12:11
created
includes/api/class-wc-rest-products-controller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 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' );
@@ -818,7 +818,7 @@  discard block
 block discarded – undo
818 818
 	/**
819 819
 	 * Save downloadable files.
820 820
 	 *
821
-	 * @param in    $product_id
821
+	 * @param integer    $product_id
822 822
 	 * @param array $downloads
823 823
 	 * @param int   $variation_id
824 824
 	 */
Please login to merge, or discard this patch.