Completed
Pull Request — master (#11544)
by Claudio
07: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' );
@@ -817,7 +817,7 @@  discard block
 block discarded – undo
817 817
 	/**
818 818
 	 * Save downloadable files.
819 819
 	 *
820
-	 * @param in $product_id
820
+	 * @param integer $product_id
821 821
 	 * @param array $downloads
822 822
 	 * @param int $variation_id
823 823
 	 */
Please login to merge, or discard this patch.
includes/abstracts/abstract-wc-rest-posts-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.
includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 	 * See https://developer.paypal.com/docs/classic/api/merchant/DoCapture_API_Operation_NVP/.
28 28
 	 * @param  WC_Order $order
29 29
 	 * @param  float    $amount
30
-	 * @param  string   $reason
31 30
 	 * @return array
32 31
 	 */
33 32
 	public static function get_capture_request( $order, $amount = null ) {
Please login to merge, or discard this patch.