Completed
Push — master ( c14ea5...651a4c )
by Claudio
21:49
created
includes/class-wc-download-handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
 	/**
202 202
 	 * Parse file path and see if its remote or local.
203 203
 	 * @param  string $file_path
204
-	 * @return array
204
+	 * @return string
205 205
 	 */
206 206
 	public static function parse_file_path( $file_path ) {
207 207
 		$wp_uploads     = wp_upload_dir();
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
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
 	/**
82 82
 	 * Get the product object.
83
-	 * @param  mixed $the_product
83
+	 * @param  boolean $the_product
84 84
 	 * @uses   WP_Post
85 85
 	 * @return WP_Post|bool false on failure
86 86
 	 */
Please login to merge, or discard this patch.
includes/class-wc-payment-gateways.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
 	 * Set the current, active gateway.
161 161
 	 *
162 162
 	 * @access public
163
-	 * @param array $gateway Available payment gateways.
163
+	 * @param array $gateways Available payment gateways.
164 164
 	 */
165 165
 	public function set_current_gateway( $gateways ) {
166 166
 
Please login to merge, or discard this patch.
includes/abstracts/abstract-wc-shipping-method.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 	 *
123 123
 	 * Methods should override this to declare support (or lack of support) for a feature.
124 124
 	 *
125
-	 * @param $feature string The name of a feature to test support for.
125
+	 * @param string $feature string The name of a feature to test support for.
126 126
 	 * @return bool True if the shipping method supports the feature, false otherwise.
127 127
 	 */
128 128
 	public function supports( $feature ) {
Please login to merge, or discard this patch.
includes/legacy/class-wc-legacy-customer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@
 block discarded – undo
42 42
 	/**
43 43
 	 * __set function.
44 44
 	 * @todo use set_* methods
45
-	 * @param mixed $property
46 45
 	 * @param mixed $key
47 46
 	 */
48 47
 	public function __set( $key, $value ) {
Please login to merge, or discard this patch.
includes/class-wc-auth.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
 	/**
202 202
 	 * Parse file path and see if its remote or local.
203 203
 	 * @param  string $file_path
204
-	 * @return array
204
+	 * @return string
205 205
 	 */
206 206
 	public static function parse_file_path( $file_path ) {
207 207
 		$wp_uploads     = wp_upload_dir();
Please login to merge, or discard this patch.
includes/api/class-wc-rest-authentication.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
 	 *
185 185
 	 * @param stdClass $user
186 186
 	 * @param array $params The request parameters.
187
-	 * @return null|WP_Error
187
+	 * @return stdClass
188 188
 	 */
189 189
 	private function check_oauth_signature( $user, $params ) {
190 190
 		$http_method  = strtoupper( $_SERVER['REQUEST_METHOD'] );
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/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.