Completed
Push — fix/useBlockEditContext-usage ( 1e6b8b...d10938 )
by
unknown
199:36 queued 191:34
created
modules/widgets/simple-payments.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
 		 * Returns the number of decimal places on string representing a price.
277 277
 		 *
278 278
 		 * @param string $number Price to check.
279
-		 * @return number number of decimal places.
279
+		 * @return null|integer number of decimal places.
280 280
 		 */
281 281
 		private function get_decimal_places( $number ) {
282 282
 			$parts = explode( '.', $number );
@@ -377,8 +377,7 @@  discard block
 block discarded – undo
377 377
 		/**
378 378
 		 * Gets the latests field value from either the old instance or the new instance.
379 379
 		 *
380
-		 * @param array $mixed Array of values for the new form instance.
381
-		 * @param array $mixed Array of values for the old form instance.
380
+		 * @param string $field
382 381
 		 * @return mixed $mixed Field value.
383 382
 		 */
384 383
 		private function get_latest_field_value( $new_instance, $old_instance, $field ) {
@@ -392,6 +391,7 @@  discard block
 block discarded – undo
392 391
 		 * it returns the default values.
393 392
 		 *
394 393
 		 * @param int Product Post ID.
394
+		 * @param integer $product_post_id
395 395
 		 * @return array $fields Product Fields from the Product Post.
396 396
 		 */
397 397
 		private function get_product_from_post( $product_post_id ) {
Please login to merge, or discard this patch.
packages/connection/src/class-manager.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	/**
273 273
 	 * Verifies the signature of the current request.
274 274
 	 *
275
-	 * @return false|array
275
+	 * @return boolean
276 276
 	 */
277 277
 	public function verify_xml_rpc_signature() {
278 278
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1134,6 +1134,7 @@  discard block
 block discarded – undo
1134 1134
 	 * @param String  $action  The action name.
1135 1135
 	 * @param Integer $user_id The user identifier.
1136 1136
 	 * @param Integer $exp     Expiration time in seconds.
1137
+	 * @return string
1137 1138
 	 */
1138 1139
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1139 1140
 		if ( false === $user_id ) {
@@ -1549,7 +1550,7 @@  discard block
 block discarded – undo
1549 1550
 	 *
1550 1551
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
1551 1552
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
1552
-	 * @param bool|true    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
1553
+	 * @param boolean    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
1553 1554
 	 *
1554 1555
 	 * @return object|false
1555 1556
 	 */
Please login to merge, or discard this patch.