Completed
Push — update/composer-lock ( 4bc3dc...ab53f1 )
by Jeremy
08:14
created
class.jetpack-gutenberg.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@
 block discarded – undo
416 416
 	 * Only enqueue block assets when needed.
417 417
 	 *
418 418
 	 * @param string $type Slug of the block.
419
-	 * @param array  $script_dependencies Script dependencies. Will be merged with automatically
419
+	 * @param string[]  $script_dependencies Script dependencies. Will be merged with automatically
420 420
 	 *                                    detected script dependencies from the webpack build.
421 421
 	 *
422 422
 	 * @return void
Please login to merge, or discard this patch.
packages/sync/src/Functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -380,7 +380,7 @@
 block discarded – undo
380 380
 	 *
381 381
 	 * @param string   $option Option value from the site.
382 382
 	 * @param callable $url_function Function retrieving the URL to normalize.
383
-	 * @return mixed|string URL.
383
+	 * @return callable URL.
384 384
 	 */
385 385
 	public static function normalize_www_in_url( $option, $url_function ) {
386 386
 		$url        = wp_parse_url( call_user_func( $url_function ) );
Please login to merge, or discard this patch.
sal/class.json-api-links.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 	 * Used to construct meta links in API responses
31 31
 	 *
32 32
 	 * @param mixed ...$args Optional arguments to be appended to URL
33
+	 * @param string $args
33 34
 	 * @return string Endpoint URL
34 35
 	 **/
35 36
 	function get_link( ...$args ) {
@@ -128,7 +129,7 @@  discard block
 block discarded – undo
128 129
 	 * This method is used in get_link() to construct meta links for API responses.
129 130
 	 *
130 131
 	 * @param $template_path string The generic endpoint path, e.g. /sites/%s
131
-	 * @param $path string The current endpoint path, relative to the version, e.g. /sites/12345
132
+	 * @param string $path string The current endpoint path, relative to the version, e.g. /sites/12345
132 133
 	 * @param $request_method string Request method used to access the endpoint path
133 134
 	 * @return string The current version, or otherwise the maximum version available
134 135
 	 */
Please login to merge, or discard this patch.
_inc/lib/class.media-summary.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -271,6 +271,9 @@  discard block
 block discarded – undo
271 271
 		}
272 272
 	}
273 273
 
274
+	/**
275
+	 * @param string $type
276
+	 */
274 277
 	static function get_video_poster( $type, $id ) {
275 278
 		if ( 'videopress' == $type ) {
276 279
 			if ( function_exists( 'video_get_highest_resolution_image_url' ) ) {
@@ -356,6 +359,9 @@  discard block
 block discarded – undo
356 359
 		return (int) count( self::split_content_in_words( self::clean_text( $post_content ) ) );
357 360
 	}
358 361
 
362
+	/**
363
+	 * @param string $excerpt_content
364
+	 */
359 365
 	static function get_word_remaining_count( $post_content, $excerpt_content ) {
360 366
 		$content_word_count = count( self::split_content_in_words( self::clean_text( $post_content ) ) );
361 367
 		$excerpt_word_count = count( self::split_content_in_words( self::clean_text( $excerpt_content ) ) );
Please login to merge, or discard this patch.
packages/tracking/legacy/class.tracks-client.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * Record an event.
54 54
 	 *
55
-	 * @param  mixed $event Event object to send to Tracks. An array will be cast to object. Required.
55
+	 * @param  Jetpack_Tracks_Event $event Event object to send to Tracks. An array will be cast to object. Required.
56 56
 	 *                      Properties are included directly in the pixel query string after light validation.
57 57
 	 * @return mixed         True on success, WP_Error on failure
58 58
 	 */
Please login to merge, or discard this patch.