Completed
Push — update/react-router-5 ( 547899...3b7c17 )
by Yaroslav
07:46
created
_inc/lib/class.core-rest-api-endpoints.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -1264,7 +1264,6 @@
 block discarded – undo
1264 1264
 	 *
1265 1265
 	 * @since 4.3.0
1266 1266
 	 *
1267
-	 * @param WP_REST_Request $request The request sent to the WP REST API.
1268 1267
 	 *
1269 1268
 	 * @return object
1270 1269
 	 */
Please login to merge, or discard this patch.
3rd-party/class-jetpack-bbpress-rest-api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 *
46 46
 	 * @param array $allowed_post_types Allowed post types.
47 47
 	 *
48
-	 * @return array
48
+	 * @return string[]
49 49
 	 */
50 50
 	public function allow_bbpress_post_types( $allowed_post_types ) {
51 51
 		$allowed_post_types[] = 'forum';
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 	 *
60 60
 	 * @param array $allowed_meta_keys Allowed meta keys.
61 61
 	 *
62
-	 * @return array
62
+	 * @return string[]
63 63
 	 */
64 64
 	public function allow_bbpress_public_metadata( $allowed_meta_keys ) {
65 65
 		$allowed_meta_keys[] = '_bbp_forum_id';
Please login to merge, or discard this patch.
_inc/lib/class.jetpack-password-checker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -410,7 +410,7 @@
 block discarded – undo
410 410
 	 *
411 411
 	 * @param Mixed $needle the needle.
412 412
 	 * @param array $haystack the haystack.
413
-	 * @return is the needle not in the haystack?
413
+	 * @return boolean the needle not in the haystack?
414 414
 	 */
415 415
 	protected function negative_in_array( $needle, $haystack ) {
416 416
 		if ( in_array( $needle, $haystack, true ) ) {
Please login to merge, or discard this patch.
class.jetpack-post-images.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,6 +166,7 @@  discard block
 block discarded – undo
166 166
 	/**
167 167
 	 * Get attachment images for a specified post and return them. Also make sure
168 168
 	 * their dimensions are at or above a required minimum.
169
+	 * @param integer $post_id
169 170
 	 */
170 171
 	static function from_attachment( $post_id, $width = 200, $height = 200 ) {
171 172
 		$images = array();
@@ -232,7 +233,7 @@  discard block
 block discarded – undo
232 233
 	 * format to the other images?_from_*() methods.
233 234
 	 *
234 235
 	 * @param  int $post_id The post ID to check
235
-	 * @return array containing details of the Featured Image, or empty array if none.
236
+	 * @return integer|null containing details of the Featured Image, or empty array if none.
236 237
 	 */
237 238
 	static function from_thumbnail( $post_id, $width = 200, $height = 200 ) {
238 239
 		$images = array();
@@ -687,7 +688,6 @@  discard block
 block discarded – undo
687 688
 	 * resized and cropped image.
688 689
 	 *
689 690
 	 * @param  string $src
690
-	 * @param  int    $dimension
691 691
 	 * @return string            Transformed image URL
692 692
 	 */
693 693
 	static function fit_image_url( $src, $width, $height ) {
Please login to merge, or discard this patch.