Completed
Push — update/add_grunion_after_feedb... ( 614f06...9f6c1a )
by
unknown
07:04
created
class.jetpack-post-images.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,6 +153,7 @@  discard block
 block discarded – undo
153 153
 	/**
154 154
 	 * Get attachment images for a specified post and return them. Also make sure
155 155
 	 * their dimensions are at or above a required minimum.
156
+	 * @param integer $post_id
156 157
 	 */
157 158
 	static function from_attachment( $post_id, $width = 200, $height = 200 ) {
158 159
 		$images = array();
@@ -545,7 +546,6 @@  discard block
 block discarded – undo
545 546
 	 * resized and cropped image.
546 547
 	 *
547 548
 	 * @param  string $src
548
-	 * @param  int    $dimension
549 549
 	 * @return string            Transformed image URL
550 550
 	 */
551 551
 	static function fit_image_url( $src, $width, $height ) {
Please login to merge, or discard this patch.
packages/connection/tests/php/test_Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
307 307
 	 * Mock a global function and make it return a certain value.
308 308
 	 *
309 309
 	 * @param string $function_name Name of the function.
310
-	 * @param mixed  $return_value Return value of the function.
310
+	 * @param integer  $return_value Return value of the function.
311 311
 	 *
312 312
 	 * @return Mock The mock object.
313 313
 	 * @throws MockEnabledException PHPUnit wasn't able to enable mock functions.
Please login to merge, or discard this patch.
_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.
packages/analyzer/src/Differences.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 
10 10
 class Differences extends PersistentList {
11 11
 
12
+	/**
13
+	 * @param string $path
14
+	 */
12 15
 	private function slashit( $path ) {
13 16
 		$path .= ( substr( $path, -1 ) == '/' ? '' : '/' );
14 17
 		return $path;
Please login to merge, or discard this patch.
_inc/lib/class-jetpack-instagram-gallery-helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 	 *
19 19
 	 * @param  string $access_token The Instagram access token.
20 20
 	 * @param  int    $count        The number of Instagram posts to fetch.
21
-	 * @return mixed
21
+	 * @return integer|null
22 22
 	 */
23 23
 	public static function get_instagram_gallery( $access_token, $count ) {
24 24
 		$site_id = self::get_site_id();
Please login to merge, or discard this patch.