Completed
Push — renovate/slack-web-api-5.x ( 4b5f89...477d2d )
by
unknown
18:27 queued 12:05
created
packages/sync/src/modules/Term_Relationships.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 	 *
125 125
 	 * @access public
126 126
 	 *
127
-	 * @return array Full sync actions of this module.
127
+	 * @return string[] Full sync actions of this module.
128 128
 	 */
129 129
 	public function get_full_sync_actions() {
130 130
 		return array( 'jetpack_full_sync_term_relationships' );
Please login to merge, or discard this patch.
class.json-api-endpoints.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -1534,6 +1534,7 @@  discard block
 block discarded – undo
1534 1534
 	 * timezone set in the options table for the blog or the GMT offset.
1535 1535
 	 *
1536 1536
 	 * @param datetime string $date_string Date to parse.
1537
+	 * @param string $date_string
1537 1538
 	 *
1538 1539
 	 * @return array( $local_time_string, $gmt_time_string )
1539 1540
 	 */
@@ -1643,6 +1644,10 @@  discard block
 block discarded – undo
1643 1644
 		do_action( 'restapi_theme_init' );
1644 1645
 	}
1645 1646
 
1647
+	/**
1648
+	 * @param string $from_hook
1649
+	 * @param string $to_hook
1650
+	 */
1646 1651
 	function copy_hooks( $from_hook, $to_hook, $base_paths ) {
1647 1652
 		global $wp_filter;
1648 1653
 		foreach ( $wp_filter as $hook => $actions ) {
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.